Skip to content

Commit dcfaba3

Browse files
committed
Stable Version 0.5.0
1 parent 5bd3280 commit dcfaba3

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
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

dist/js-data-sql.js

+2
Original file line numberDiff line numberDiff 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 === "|!==") {

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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",

0 commit comments

Comments
 (0)