@jfa/arangoose
v0.0.103
Published
Simple ORM for ArangoDB, based on [Mongoose](https://github.com/Automattic/mongoose) and [ORMjs](https://github.com/uMaxmaxmaximus/ui-js/tree/master/server/core/orm)
Downloads
12
Readme
Arangoose
Simple ORM for ArangoDB, based on Mongoose and ORMjs
static:
// Find Models by selector
selector = { example: 'example' } // selector as example
selector = { _id: [ ...ids ] } // selector also can contain an Array of _ids
Model.find(selector, offset = 0, limit = 100)
ToDo
- config:
- choose whether to use 'optional' or 'reuqired' for the global schema style
- make connections identifiable
- build in data encryption by bcrypt for passwords, etc
- class ObjectIds with method equal()
- listCollections
- collection.remove => .drop()
- timestamps
- Map as schemaType