README
seneca-entity-util
Utilities for Seneca entities.
- rtag: random revision tags generated per save; provides support for complex object caching.
- archive: archival of deleted entities.
- when: injection of created and modified time stamps
- duration: injection of entity action duration times in results as meta data
Install
$ npm install seneca-entity-util seneca-promisify
Options
rtag.active
: boolean falsertag.field
: string "rtag"rtag.len
: number 17rtag.annotate
: boolean truertag.stats
: boolean truertag.clone_before_hydrate
: boolean truewhen.active
: boolean falsewhen.field_created
: string "t_c"when.field_modified
: string "t_m"duration.active
: boolean falseduration.annotation
: string "d