Skip to content

Commit 2324d34

Browse files
committed
v2.1.19
1 parent f4dd197 commit 2324d34

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
### v2.1.19 - 21 Aug 2014
22
- Fix Chain.find().remove() & Chain.find.count() with mapsTo keys (#530)
3+
- Add not_like comparator
34

45
### v2.1.18 - 29 Jul 2014
56
- Add `alwaysValidate` flag (#540, #352)

Readme.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,8 @@ a few examples to describe it:
472472
{ col1: orm.lte(123) } // `col1` <= 123
473473
{ col1: orm.between(123, 456) } // `col1` BETWEEN 123 AND 456
474474
{ col1: orm.not_between(123, 456) } // `col1` NOT BETWEEN 123 AND 456
475-
{ col1: orm.like(12 + "%") } // `col1` like '12%'
475+
{ col1: orm.like(12 + "%") } // `col1` LIKE '12%'
476+
{ col1: orm.not_like(12 + "%") } // `col1` NOT LIKE '12%'
476477
```
477478

478479
#### Raw queries
@@ -849,7 +850,7 @@ Pet(2).getOwners(...);
849850

850851
## Adding external database adapters
851852

852-
To add an external database adapter to `orm`, call the `addAdapter` method, passing in the alias to use for connecting
853+
To add an external database adapter to `orm`, call the `addAdapter` method, passing in the alias to use for connecting
853854
with this adapter, along with the constructor for the adapter:
854855

855856
```js

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"analyse" : false,
3838
"dependencies": {
3939
"enforce" : "0.1.2",
40-
"sql-query" : "git+https://github.com/dresende/node-sql-query.git#v0.1.21",
40+
"sql-query" : "git+https://github.com/dresende/node-sql-query.git#v0.1.23",
4141
"sql-ddl-sync" : "git+https://github.com/dresende/node-sql-ddl-sync.git#v0.3.10",
4242
"hat" : "0.0.3",
4343
"lodash" : "2.4.1"

0 commit comments

Comments
 (0)