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

Commit 516dd238 by Jan Aagaard Meier

Merge pull request #2830 from seegno/support/fix-find-all-documentation

Fix method name in findAll documentation
2 parents 4dd3f181 13403dd5
Showing with 3 additions and 3 deletions
...@@ -595,7 +595,7 @@ module.exports = (function() { ...@@ -595,7 +595,7 @@ module.exports = (function() {
* *
* __Simple search using AND and =__ * __Simple search using AND and =__
* ```js * ```js
* Model.find({ * Model.findAll({
* where: { * where: {
* attr1: 42, * attr1: 42,
* attr2: 'cake' * attr2: 'cake'
...@@ -609,7 +609,7 @@ module.exports = (function() { ...@@ -609,7 +609,7 @@ module.exports = (function() {
* __Using greater than, less than etc.__ * __Using greater than, less than etc.__
* ```js * ```js
* *
* Model.find({ * Model.findAll({
* where: { * where: {
* attr1: { * attr1: {
* gt: 50 * gt: 50
...@@ -633,7 +633,7 @@ module.exports = (function() { ...@@ -633,7 +633,7 @@ module.exports = (function() {
* *
* __Queries using OR__ * __Queries using OR__
* ```js * ```js
* Model.find({ * Model.findAll({
* where: Sequelize.and( * where: Sequelize.and(
* { name: 'a project' }, * { name: 'a project' },
* Sequelize.or( * Sequelize.or(
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!