rfink / sequelize-redis-cache

Small fluent interface for caching sequelize database query results in redis more easily
MIT License
174 stars 47 forks source link

Allow raw querying via the module #12

Closed rfink closed 7 years ago

rfink commented 8 years ago

Allow a raw query through the module, in addition to find, findOne, etc. See branches/feature/new_api

gimox commented 7 years ago

+1 for raw query

knoxcard commented 7 years ago

+1

rfink commented 7 years ago

Hello! Have either of you checked out the branch feature/new_api? Any comments on API design? It would be a slight change from how you interface with it now, but would allow raw querying.

knoxcard commented 7 years ago

I will try to read it today or tomorrow! I'd love to contribute. In the meantime, I call raw sequelize statements without the redis cache in certain areas of my SaaS application that need up to the minute info.

rfink commented 7 years ago

Fixed and released as 2.0.0 (note: backwards incompatible API changes). Thanks!