File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1+ ##### 0.5.0 - 08 June 2015
2+
3+ ###### Backwards compatible API changes
4+ - #4 - Add support for loading relations in find()
5+ - #8 - LIKE operator support
6+
7+ ###### Backwards compatible bug fixes
8+ - #9 - Throw error when using bad WHERE operator
9+
110##### 0.4.0 - 26 March 2015
211
312###### Backwards compatible bug fixes
Original file line number Diff line number Diff line change @@ -130,6 +130,8 @@ module.exports =
130130 query = query . where ( field , "in" , v ) ;
131131 } else if ( op === "notIn" ) {
132132 query = query . whereNotIn ( field , v ) ;
133+ } else if ( op === "like" ) {
134+ query = query . where ( field , "like" , v ) ;
133135 } else if ( op === "|==" || op === "|===" ) {
134136 query = query . orWhere ( field , v ) ;
135137 } else if ( op === "|!=" || op === "|!==" ) {
Original file line number Diff line number Diff line change 11{
22 "name" : " js-data-sql" ,
33 "description" : " Postgres/MySQL/MariaDB/SQLite3 adapter for js-data." ,
4- "version" : " 0.4.1 " ,
4+ "version" : " 0.5.0 " ,
55 "homepage" : " http://www.js-data.io/docs/dssqladapter" ,
66 "repository" : {
77 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments