不要怂,就是干,撸起袖子干!

Commit e068732a by Alex Booker

updated models-usage.md

1 parent 42b10a71
Showing with 3 additions and 1 deletions
## Data retrieval / Finders ## Data retrieval / Finders
Finder methods are designed to get data from the database. The returned data isn't just a plain object, but instances of one of the defined classes. Check the next major chapter about instances for further information. But as those things are instances, you can e.g. use the just describe expanded instance methods. So, here is what you can do: Finder methods are intended to query data from the database. They do *not* return plain objects but instead return model instances. Because finder methods return model instances you can call any model instance member on the result as described in the documentation for [*instances*](http://docs.sequelizejs.com/en/latest/docs/instances/).
In this document we'll explore what finder methods can do:
### find - Search for one specific element in the database ### find - Search for one specific element in the database
```js ```js
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!