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

Commit b46450b4 by Matt Broadstone

add default implementation for upsertQuery

Some dialects developers might need to be reminded they need to
implement the upsertQuery.
1 parent c42f6b7e
Showing with 7 additions and 0 deletions
...@@ -329,6 +329,13 @@ module.exports = (function() { ...@@ -329,6 +329,13 @@ module.exports = (function() {
}, },
/* /*
Returns an upsert query.
*/
upsertQuery: function (tableName, insertValues, updateValues, where, rawAttributes, options) {
throwMethodUndefined('upsertQuery');
},
/*
Returns a deletion query. Returns a deletion query.
Parameters: Parameters:
- tableName -> Name of the table - tableName -> Name of the table
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!