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 3517eb7e
authored
Oct 17, 2019
by
Phil Gebauer
Committed by
Sushant
Oct 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(types): add array of Buffers to WhereValue type (#11559)
1 parent
c3c767e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
types/lib/model.d.ts
types/test/where.ts
types/lib/model.d.ts
View file @
3517eb7
...
@@ -350,7 +350,7 @@ export type WhereValue =
...
@@ -350,7 +350,7 @@ export type WhereValue =
|
OrOperator
|
OrOperator
|
AndOperator
|
AndOperator
|
WhereGeometryOptions
|
WhereGeometryOptions
|
(
string
|
number
|
WhereAttributeHash
)[];
// implicit [Op.or]
|
(
string
|
number
|
Buffer
|
WhereAttributeHash
)[];
// implicit [Op.or]
/**
/**
* A hash of attributes to describe your search.
* A hash of attributes to describe your search.
...
...
types/test/where.ts
View file @
3517eb7
...
@@ -15,9 +15,12 @@ let where: WhereOptions;
...
@@ -15,9 +15,12 @@ let where: WhereOptions;
*/
*/
where
=
{
where
=
{
string
:
'foo'
,
string
:
'foo'
,
strings
:
[
'foo'
],
number
:
1
,
number
:
1
,
numbers
:
[
1
],
boolean
:
true
,
boolean
:
true
,
buffer
:
Buffer
.
alloc
(
0
),
buffer
:
Buffer
.
alloc
(
0
),
buffers
:
[
Buffer
.
alloc
(
0
)],
null
:
null
,
null
:
null
,
};
};
...
...
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