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 3fd64cbd
authored
Mar 22, 2021
by
김성환
Committed by
GitHub
Mar 21, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(types): allow `sequelize.col` in `attributes` (#13105)
1 parent
4ec88a67
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
types/lib/model.d.ts
types/lib/model.d.ts
View file @
3fd64cb
...
@@ -479,7 +479,7 @@ export type Order = string | Fn | Col | Literal | OrderItem[];
...
@@ -479,7 +479,7 @@ export type Order = string | Fn | Col | Literal | OrderItem[];
* Please note if this is used the aliased property will not be available on the model instance
* Please note if this is used the aliased property will not be available on the model instance
* as a property but only via `instance.get('alias')`.
* as a property but only via `instance.get('alias')`.
*/
*/
export
type
ProjectionAlias
=
readonly
[
string
|
Literal
|
Fn
,
string
];
export
type
ProjectionAlias
=
readonly
[
string
|
Literal
|
Fn
|
Col
,
string
];
export
type
FindAttributeOptions
=
export
type
FindAttributeOptions
=
|
(
string
|
ProjectionAlias
)[]
|
(
string
|
ProjectionAlias
)[]
...
...
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