Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit 4c76f498
authored
Jul 19, 2015
by
oznu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc(querying) Add documentation for the $notIn query operator.
1 parent
82c54e73
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
docs/docs/models-usage.md
docs/docs/querying.md
docs/docs/models-usage.md
View file @
4c76f49
...
@@ -174,6 +174,7 @@ Project.findAll({
...
@@ -174,6 +174,7 @@ Project.findAll({
$between
:
[
6
,
10
],
// BETWEEN 6 AND 10
$between
:
[
6
,
10
],
// BETWEEN 6 AND 10
$notBetween
:
[
11
,
15
],
// NOT BETWEEN 11 AND 15
$notBetween
:
[
11
,
15
],
// NOT BETWEEN 11 AND 15
$in
:
[
1
,
2
],
// IN [1, 2]
$in
:
[
1
,
2
],
// IN [1, 2]
$notIn
:
[
1
,
2
],
// NOT IN [1, 2]
$like
:
'%hat'
,
// LIKE '%hat'
$like
:
'%hat'
,
// LIKE '%hat'
$notLike
:
'%hat'
// NOT LIKE '%hat'
$notLike
:
'%hat'
// NOT LIKE '%hat'
$iLike
:
'%hat'
// ILIKE '%hat' (case insensitive)
$iLike
:
'%hat'
// ILIKE '%hat' (case insensitive)
...
...
docs/docs/querying.md
View file @
4c76f49
...
@@ -53,6 +53,7 @@ $ne: 20, // id != 20
...
@@ -53,6 +53,7 @@ $ne: 20, // id != 20
$between
:
[
6
,
10
],
// BETWEEN 6 AND 10
$between
:
[
6
,
10
],
// BETWEEN 6 AND 10
$notBetween
:
[
11
,
15
],
// NOT BETWEEN 11 AND 15
$notBetween
:
[
11
,
15
],
// NOT BETWEEN 11 AND 15
$in
:
[
1
,
2
],
// IN [1, 2]
$in
:
[
1
,
2
],
// IN [1, 2]
$notIn
:
[
1
,
2
],
// NOT IN [1, 2]
$like
:
'%hat'
,
// LIKE '%hat'
$like
:
'%hat'
,
// LIKE '%hat'
$notLike
:
'%hat'
// NOT LIKE '%hat'
$notLike
:
'%hat'
// NOT LIKE '%hat'
$iLike
:
'%hat'
// ILIKE '%hat' (case insensitive)
$iLike
:
'%hat'
// ILIKE '%hat' (case insensitive)
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment