backbone-db-redis
Advanced tools
Comparing version 0.0.25 to 0.0.26
@@ -126,2 +126,7 @@ var _ = require('lodash'); | ||
var keys = _.map(ids, function(id) { | ||
// if indexed value is the hash key | ||
if (id.indexOf('h:') > -1) { | ||
var parts = id.split(':'); | ||
id = parts[parts.length -1]; | ||
} | ||
var attrs = {}; | ||
@@ -128,0 +133,0 @@ attrs[this.ModelClass.prototype.idAttribute] = id; |
{ | ||
"name": "backbone-db-redis", | ||
"version": "0.0.25", | ||
"version": "0.0.26", | ||
"description": "Redis driver for Backbone.Db", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
58632
1721