balderdashy/sails-redis — pull request #46 by chadxz (2014-09-19 20:26:18+00:00)
Title: Criteria is in the where

when you're trying to optimize by using the primary key to perform a direct `connection.get` on the redis key, the criteria lookup was wrong. it needed to be criteria.where[key] and not criteria[key]