Skip to content

axiomzen/mongoose-compliant-paranoia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mongoose compliant-paranoia

Build Status

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.

Meant to work with both mongoid paranoia extra and plugin

Tested with mongoose 3.6.12

warning: calling mongoose .remove() on a doc will still delete it.

Inspiration from mongoose-cache

how to dev

npm i

Put coffee to run with

coffee -w -b -o lib/ coffee/

run tests with npm test


Powered by ZenHub.io

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published