commit
1512ef4561
|
@ -257,7 +257,7 @@ User.findById(23, function(err, user) {
|
|||
Find a single instance that matches the given where expression.
|
||||
|
||||
```js
|
||||
User.findOne({id: 23}, function(err, user) {
|
||||
User.findOne({where: {id: 23}}, function(err, user) {
|
||||
console.info(user.id); // 23
|
||||
});
|
||||
```
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"Platform",
|
||||
"mBaaS"
|
||||
],
|
||||
"version": "1.7.0",
|
||||
"version": "1.7.1",
|
||||
"scripts": {
|
||||
"test": "mocha -R spec"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue