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 c708e857
authored
Jul 02, 2015
by
Jan Aagaard Meier
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4053 from RebootJeff/patch-2
Fix typo in docs on Model.schema() method
2 parents
be42a815
faa1c586
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
docs/api/model.md
docs/api/model.md
View file @
c708e85
...
@@ -53,7 +53,7 @@ Drop the table represented by this Model
...
@@ -53,7 +53,7 @@ Drop the table represented by this Model
***
***
<a
name=
"schema"
></a>
<a
name=
"schema"
></a>
## `schema(schema, [options])` -> `
hi
`
## `schema(schema, [options])` -> `
this
`
[
View code
](
https://github.com/sequelize/sequelize/blob/2c4a9f3cf9887fb33c31e397e758dd4aa3374d01/lib/model.js#L914
)
[
View code
](
https://github.com/sequelize/sequelize/blob/2c4a9f3cf9887fb33c31e397e758dd4aa3374d01/lib/model.js#L914
)
Apply a schema to this model. For postgres, this will actually place the schema in front of the table name -
`"schema"."tableName"`
,
Apply a schema to this model. For postgres, this will actually place the schema in front of the table name -
`"schema"."tableName"`
,
while the schema will be prepended to the table name for mysql and sqlite -
`'schema.tablename'`
.
while the schema will be prepended to the table name for mysql and sqlite -
`'schema.tablename'`
.
...
...
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