backbone-db-redis
Advanced tools
Comparing version 0.0.30 to 0.0.31
@@ -317,3 +317,7 @@ var _ = require('lodash'), | ||
} | ||
collection.set(models, options); | ||
var setOpts = {}; | ||
// disable sort by default here, since it's expected that redis set was sorted | ||
if (collection.indexSort) setOpts.sort = false; | ||
var opts = _.extend(setOpts, options); | ||
collection.set(models, opts); | ||
return cb(err, models); | ||
@@ -320,0 +324,0 @@ }; |
{ | ||
"name": "backbone-db-redis", | ||
"version": "0.0.30", | ||
"version": "0.0.31", | ||
"description": "Redis driver for Backbone.Db", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
58983
1729