mongoose-compliant-paranoia

0.1.8 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.8
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.8
    2
  • 0.1.7
    0
  • 0.1.6
    0

Package Sidebar

Install

npm i mongoose-compliant-paranoia

Weekly Downloads

2

Version

0.1.8

License

MIT

Last publish

Collaborators

  • flockonus