File tree 3 files changed +12
-1
lines changed
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
+
1
10
##### 0.4.0 - 26 March 2015
2
11
3
12
###### Backwards compatible bug fixes
Original file line number Diff line number Diff line change @@ -130,6 +130,8 @@ module.exports =
130
130
query = query . where ( field , "in" , v ) ;
131
131
} else if ( op === "notIn" ) {
132
132
query = query . whereNotIn ( field , v ) ;
133
+ } else if ( op === "like" ) {
134
+ query = query . where ( field , "like" , v ) ;
133
135
} else if ( op === "|==" || op === "|===" ) {
134
136
query = query . orWhere ( field , v ) ;
135
137
} else if ( op === "|!=" || op === "|!==" ) {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " js-data-sql" ,
3
3
"description" : " Postgres/MySQL/MariaDB/SQLite3 adapter for js-data." ,
4
- "version" : " 0.4.1 " ,
4
+ "version" : " 0.5.0 " ,
5
5
"homepage" : " http://www.js-data.io/docs/dssqladapter" ,
6
6
"repository" : {
7
7
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments