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