@researchdatabox/sails-hook-redbox-storage-mongo
v1.4.6
Published
A MongoDB storage plugin for ReDBox.
Downloads
302
Maintainers
Readme
ReDBox MongoDB Storage Plugin
This project enables storage of ReDBox data (DMPs, Data Records, etc.) in MongoDB.
Configuration
MongoDB
- The plugin will use the DB specified by the 'datastore' configured within the API model definition. By default, this is 'redboxStorage'.
- Datastores are configured at the SailsJS level, see Waterline reference and SailsJS datastores configuration. Specifically, the datastore uses the sails-mongo adapter, which allows for advanced connection options, including specifying SSL files, etc.