Skip to content

Commit

Permalink
updating documentation according to the recent changes in null proc…
Browse files Browse the repository at this point in the history
…essing for query formatting: passing `null` isn't the same as passing `undefined` when it is just one parameter.
  • Loading branch information
vitaly-t committed Mar 26, 2015
1 parent 878e9a2 commit 62bc3f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@ db.query("select * from users");
```
which is equivalent to calling either one of the following:
```javascript
db.query("select * from users", null, queryResult.many | queryResult.none);
db.query("select * from users", null, queryResult.any);
db.query("select * from users", undefined, queryResult.many | queryResult.none);
db.query("select * from users", undefined, queryResult.any);
db.manyOrNone("select * from users");
db.any("select * from users");
```
Expand Down

0 comments on commit 62bc3f2

Please sign in to comment.