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 14864d48
authored
Jan 09, 2018
by
Sushant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(operators): use global symbol registry
1 parent
1823f5d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
37 deletions
lib/operators.js
lib/operators.js
View file @
14864d4
...
...
@@ -43,43 +43,43 @@
* @property join
*/
const
Op
=
{
eq
:
Symbol
(
'eq'
),
ne
:
Symbol
(
'ne'
),
gte
:
Symbol
(
'gte'
),
gt
:
Symbol
(
'gt'
),
lte
:
Symbol
(
'lte'
),
lt
:
Symbol
(
'lt'
),
not
:
Symbol
(
'not'
),
is
:
Symbol
(
'is'
),
in
:
Symbol
(
'in'
),
notIn
:
Symbol
(
'notIn'
),
like
:
Symbol
(
'like'
),
notLike
:
Symbol
(
'notLike'
),
iLike
:
Symbol
(
'iLike'
),
notILike
:
Symbol
(
'notILike'
),
regexp
:
Symbol
(
'regexp'
),
notRegexp
:
Symbol
(
'notRegexp'
),
iRegexp
:
Symbol
(
'iRegexp'
),
notIRegexp
:
Symbol
(
'notIRegexp'
),
between
:
Symbol
(
'between'
),
notBetween
:
Symbol
(
'notBetween'
),
overlap
:
Symbol
(
'overlap'
),
contains
:
Symbol
(
'contains'
),
contained
:
Symbol
(
'contained'
),
adjacent
:
Symbol
(
'adjacent'
),
strictLeft
:
Symbol
(
'strictLeft'
),
strictRight
:
Symbol
(
'strictRight'
),
noExtendRight
:
Symbol
(
'noExtendRight'
),
noExtendLeft
:
Symbol
(
'noExtendLeft'
),
and
:
Symbol
(
'and'
),
or
:
Symbol
(
'or'
),
any
:
Symbol
(
'any'
),
all
:
Symbol
(
'all'
),
values
:
Symbol
(
'values'
),
col
:
Symbol
(
'col'
),
placeholder
:
Symbol
(
'placeholder'
),
join
:
Symbol
(
'join'
),
raw
:
Symbol
(
'raw'
)
//deprecated remove by v5.0
eq
:
Symbol
.
for
(
'eq'
),
ne
:
Symbol
.
for
(
'ne'
),
gte
:
Symbol
.
for
(
'gte'
),
gt
:
Symbol
.
for
(
'gt'
),
lte
:
Symbol
.
for
(
'lte'
),
lt
:
Symbol
.
for
(
'lt'
),
not
:
Symbol
.
for
(
'not'
),
is
:
Symbol
.
for
(
'is'
),
in
:
Symbol
.
for
(
'in'
),
notIn
:
Symbol
.
for
(
'notIn'
),
like
:
Symbol
.
for
(
'like'
),
notLike
:
Symbol
.
for
(
'notLike'
),
iLike
:
Symbol
.
for
(
'iLike'
),
notILike
:
Symbol
.
for
(
'notILike'
),
regexp
:
Symbol
.
for
(
'regexp'
),
notRegexp
:
Symbol
.
for
(
'notRegexp'
),
iRegexp
:
Symbol
.
for
(
'iRegexp'
),
notIRegexp
:
Symbol
.
for
(
'notIRegexp'
),
between
:
Symbol
.
for
(
'between'
),
notBetween
:
Symbol
.
for
(
'notBetween'
),
overlap
:
Symbol
.
for
(
'overlap'
),
contains
:
Symbol
.
for
(
'contains'
),
contained
:
Symbol
.
for
(
'contained'
),
adjacent
:
Symbol
.
for
(
'adjacent'
),
strictLeft
:
Symbol
.
for
(
'strictLeft'
),
strictRight
:
Symbol
.
for
(
'strictRight'
),
noExtendRight
:
Symbol
.
for
(
'noExtendRight'
),
noExtendLeft
:
Symbol
.
for
(
'noExtendLeft'
),
and
:
Symbol
.
for
(
'and'
),
or
:
Symbol
.
for
(
'or'
),
any
:
Symbol
.
for
(
'any'
),
all
:
Symbol
.
for
(
'all'
),
values
:
Symbol
.
for
(
'values'
),
col
:
Symbol
.
for
(
'col'
),
placeholder
:
Symbol
.
for
(
'placeholder'
),
join
:
Symbol
.
for
(
'join'
),
raw
:
Symbol
.
for
(
'raw'
)
//deprecated remove by v5.0
};
const
Aliases
=
{
...
...
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