backbone-db-redis
Advanced tools
Comparing version 0.0.43 to 0.0.44
@@ -462,2 +462,7 @@ var _ = require('lodash'), | ||
} | ||
// by default use MAX aggregate option (redis default is SUM) | ||
if (collection.indexSort) { | ||
params.push('AGGREGATE', 'MAX'); | ||
} | ||
var unionFn = collection.indexSort ? | ||
@@ -464,0 +469,0 @@ _.bind(this.redis.zunionstore, this.redis) : |
{ | ||
"name": "backbone-db-redis", | ||
"version": "0.0.43", | ||
"version": "0.0.44", | ||
"description": "Redis driver for Backbone.Db", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
77224
2293