backbone-db-redis
Advanced tools
Comparing version 0.0.45 to 0.0.46
@@ -388,4 +388,4 @@ var _ = require('lodash'), | ||
if (options.limit_query !== false && options.offset) { | ||
params.push("LIMIT", options.offset || 0, options.limit || -1); | ||
if (options.limit_query !== false && (options.limit || options.offset)) { | ||
params = params.concat(['LIMIT', options.offset || 0, options.limit || -1]); | ||
} | ||
@@ -392,0 +392,0 @@ |
{ | ||
"name": "backbone-db-redis", | ||
"version": "0.0.45", | ||
"version": "0.0.46", | ||
"description": "Redis driver for Backbone.Db", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
353238