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

Commit a1eb3a3d by Jan Aagaard Meier

Change syntax in LIKE example

1 parent 6147c8e8
Showing with 5 additions and 1 deletions
...@@ -647,7 +647,11 @@ The success handler will always receive an object with two properties: ...@@ -647,7 +647,11 @@ The success handler will always receive an object with two properties:
```js ```js
Project Project
.findAndCountAll({ .findAndCountAll({
where: ["title LIKE 'foo%'"], where: {
title: {
like: 'foo%'
}
},
offset: 10, offset: 10,
limit: 2 limit: 2
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!