sequelize-redis-cache icon indicating copy to clipboard operation
sequelize-redis-cache copied to clipboard

Small fluent interface for caching sequelize database query results in redis more easily

Results 12 sequelize-redis-cache issues
Sort by recently updated
recently updated
newest added

Add method desymbolize for options passed in CircularJSON.stringify method

[Replacements](http://docs.sequelizejs.com/manual/tutorial/raw-queries.html) are supported in Sequalize: ` sequalizeDb.query( 'SELECT name FROM users WHERE id = :id', { replacements: { id: userId } } ); ` However this throws an error using...

I have a setup like this: ``` var cacher = require('sequelize-redis-cache'); var redis = require('redis'); var Sequelize = require('sequelize'); var rc = redis.createClient(6379, 'localhost'); var db = new Sequelize('cache_tester', 'root',...

I have a problem that when I update a model the cache does not update, the same information remains, I tried to hook them in sequelize, but it did not...

Update Sequelize and Redis

So what I'd like to see implemented, is if the "create" method or similar is executed, then the cache will be invalidated. For example, if I do a findAll, then...

Sequelize now recommends using operators, which are javascript Symbols. http://docs.sequelizejs.com/manual/tutorial/querying.html#operators-security This causes a problem, because Symbols are ignored by JSON.stringify and Object.keys. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol This cache implementation uses CircularJSON to generate...

Added a Redis client ready check to ensure that the client is available when cache object requested. If unavailable, will hit the database and run query as normal. Resolves promise...