node-querybuilder
Advanced tools
Comparing version 0.10.0 to 0.11.0
@@ -94,4 +94,8 @@ // **************************************************************************** | ||
insert_ignore: function(table,set,callback) { | ||
var sql = qb.insert_ignore(table,set); | ||
insert_ignore: function(table,set,on_dupe,callback) { | ||
if (typeof on_dupe === 'function') { | ||
callback = on_dupe; | ||
on_dupe = null; | ||
} | ||
var sql = qb.insert_ignore(table,set,on_dupe); | ||
qb.reset_query(sql); | ||
@@ -98,0 +102,0 @@ exec(sql,callback); |
{ | ||
"name": "node-querybuilder", | ||
"version": "0.10.0", | ||
"version": "0.11.0", | ||
"author": "Kyle Farris <kyle@chomponllc.com>", | ||
@@ -5,0 +5,0 @@ "description": "Modeled after Codeigniter's QueryBuilder. Build and execute queries in a safe and database-agnostic way.", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
882010
4615