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 55da7651
authored
Mar 18, 2016
by
Mick Hansen
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5606 from elhoyos/patch-1
Removed misleading comment
2 parents
00d1581f
32a7ac0e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletions
lib/dialects/postgres/query-generator.js
lib/dialects/postgres/query-generator.js
View file @
55da765
...
...
@@ -321,7 +321,6 @@ var QueryGenerator = {
return
this
.
fn
(
fnName
,
tableName
,
body
,
returns
,
language
);
},
// http://www.maori.geek.nz/post/postgres_upsert_update_or_insert_in_ger_using_knex_js
upsertQuery
:
function
(
tableName
,
insertValues
,
updateValues
,
where
,
rawAttributes
,
options
)
{
var
insert
=
this
.
insertQuery
(
tableName
,
insertValues
,
rawAttributes
,
options
);
var
update
=
this
.
updateQuery
(
tableName
,
updateValues
,
where
,
options
,
rawAttributes
);
...
...
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