Skip to content

Commit

Permalink
v2.1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
dxg committed Aug 21, 2014
1 parent f4dd197 commit 2324d34
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
### v2.1.19 - 21 Aug 2014
- Fix Chain.find().remove() & Chain.find.count() with mapsTo keys (#530)
- Add not_like comparator

### v2.1.18 - 29 Jul 2014
- Add `alwaysValidate` flag (#540, #352)
Expand Down
5 changes: 3 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,8 @@ a few examples to describe it:
{ col1: orm.lte(123) } // `col1` <= 123
{ col1: orm.between(123, 456) } // `col1` BETWEEN 123 AND 456
{ col1: orm.not_between(123, 456) } // `col1` NOT BETWEEN 123 AND 456
{ col1: orm.like(12 + "%") } // `col1` like '12%'
{ col1: orm.like(12 + "%") } // `col1` LIKE '12%'
{ col1: orm.not_like(12 + "%") } // `col1` NOT LIKE '12%'
```

#### Raw queries
Expand Down Expand Up @@ -849,7 +850,7 @@ Pet(2).getOwners(...);

## Adding external database adapters

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

```js
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"analyse" : false,
"dependencies": {
"enforce" : "0.1.2",
"sql-query" : "git+https://github.com/dresende/node-sql-query.git#v0.1.21",
"sql-query" : "git+https://github.com/dresende/node-sql-query.git#v0.1.23",
"sql-ddl-sync" : "git+https://github.com/dresende/node-sql-ddl-sync.git#v0.3.10",
"hat" : "0.0.3",
"lodash" : "2.4.1"
Expand Down

0 comments on commit 2324d34

Please sign in to comment.