不要怂,就是干,撸起袖子干!

Commit 32a7ac0e by Juan Hoyos

Removed misleading comment

No method from the link is actually implemented here.
1 parent 00d1581f
Showing with 0 additions and 1 deletions
...@@ -321,7 +321,6 @@ var QueryGenerator = { ...@@ -321,7 +321,6 @@ var QueryGenerator = {
return this.fn(fnName, tableName, body, returns, language); 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) { upsertQuery: function (tableName, insertValues, updateValues, where, rawAttributes, options) {
var insert = this.insertQuery(tableName, insertValues, rawAttributes, options); var insert = this.insertQuery(tableName, insertValues, rawAttributes, options);
var update = this.updateQuery(tableName, updateValues, where, options, rawAttributes); var update = this.updateQuery(tableName, updateValues, where, options, rawAttributes);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!