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 c411a9d4
authored
Oct 31, 2017
by
Dan Siroky
Committed by
Sushant
Nov 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs(operators): incorrect use of your (#8570)
1 parent
a7d80f52
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
docs/querying.md
docs/querying.md
View file @
c411a9d
...
@@ -253,7 +253,7 @@ const connection = new Sequelize(db, user, pass, { operatorsAliases: false });
...
@@ -253,7 +253,7 @@ const connection = new Sequelize(db, user, pass, { operatorsAliases: false });
const
connection2
=
new
Sequelize
(
db
,
user
,
pass
,
{
operatorsAliases
:
{
$and
:
Op
.
and
}
});
const
connection2
=
new
Sequelize
(
db
,
user
,
pass
,
{
operatorsAliases
:
{
$and
:
Op
.
and
}
});
```
```
Sequelize will warn you if you
r
using the default aliases and not limiting them
Sequelize will warn you if you
're
using the default aliases and not limiting them
if you want to keep using all default aliases (excluding legacy ones) without the warning you can pass the following operatorsAliases option -
if you want to keep using all default aliases (excluding legacy ones) without the warning you can pass the following operatorsAliases option -
```
js
```
js
...
...
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