code: function (values) {
              var ds = this.mergeOptions({replace: true});
              return ds.insertSql.apply(ds, argsToArray(arguments));
          }
docs: MySQL specific syntax for REPLACE (aka UPSERT, or update if exists, insert if it doesn't).