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 4ec86a4b
authored
Mar 31, 2019
by
Pedro Augusto de Paula Barbosa
Committed by
Erik Seliger
Apr 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs(sequelize): update constructor define docs (#10675)
1 parent
42414f5a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
lib/sequelize.js
types/lib/sequelize.d.ts
lib/sequelize.js
View file @
4ec86a4
...
...
@@ -62,7 +62,7 @@ class Sequelize {
* @param {Object} [options.dialectOptions] An object of additional options, which are passed directly to the connection library
* @param {string} [options.storage] Only used by sqlite. Defaults to ':memory:'
* @param {string} [options.protocol='tcp'] The protocol of the relational database.
* @param {Object} [options.define={}] Default options for model definitions. See
sequelize.define for options
* @param {Object} [options.define={}] Default options for model definitions. See
{@link Model.init}.
* @param {Object} [options.query={}] Default options for sequelize.query
* @param {string} [options.schema=null] A schema to use
* @param {Object} [options.set={}] Default options for sequelize.set
...
...
types/lib/sequelize.d.ts
View file @
4ec86a4
...
...
@@ -217,7 +217,7 @@ export interface Options extends Logging {
protocol
?:
string
;
/**
* Default options for model definitions. See
sequelize.define for options
* Default options for model definitions. See
Model.init.
*/
define
?:
ModelOptions
;
...
...
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