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 95fa0fc3
authored
Dec 11, 2015
by
Jan Aagaard Meier
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5016 from kirla3092/patch-1
[ci skip] Docs: changed order of values
2 parents
3ec4f6e7
65e66496
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
docs/docs/associations.md
docs/docs/associations.md
View file @
95fa0fc
...
@@ -258,7 +258,7 @@ SELECT * FROM comments WHERE commentable_id = 42 AND commentable = 'image';
...
@@ -258,7 +258,7 @@ SELECT * FROM comments WHERE commentable_id = 42 AND commentable = 'image';
image
.
createComment
({
image
.
createComment
({
title
:
'Awesome!'
title
:
'Awesome!'
})
})
INSERT
INTO
comments
(
title
,
commentable_id
,
commentable
)
VALUES
(
'Awesome!'
,
'image'
,
42
);
INSERT
INTO
comments
(
title
,
commentable_id
,
commentable
)
VALUES
(
'Awesome!'
,
42
,
'image'
);
image
.
addComment
(
comment
);
image
.
addComment
(
comment
);
UPDATE
comments
SET
commentable_id
=
42
,
commentable
=
'image'
UPDATE
comments
SET
commentable_id
=
42
,
commentable
=
'image'
...
...
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