A plugin to complay with Rails paranoia plugins so we dont query 'deleted' documents
Want to see pretty graphs? Log in now!
npm install mongoose-compliant-paranoia
|6||downloads in the last week|
|12||downloads in the last month|
|Last Published By|
|Version||0.1.8 last updated 10 months ago|
|Keywords||mongoose, plugin, paranoia, deleted_at|
A super light and transparent way to prevent rails's mongoid deleted_at field from messing your queries from getting "deleted" documents by being aware of it.
Tested with mongoose 3.6.12
warning: calling mongoose
.remove() on a doc will still delete it.
Inspiration from mongoose-cache
how to dev
Put coffee to run with
coffee -w -b -o lib/ coffee/
run tests with