Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 814 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 814 Bytes

Databases

Databases are specified with the collection.database configuration property.

collections:
  example_collection:
    database: mongodb

This means multiple databases can be mixed on the same API, and collections can either share the same databases or use different ones.

Options

Databases options are specified with the databases configuration property.

databases:
  memory:
    save: false

Available databases

The available databases are:

  • memory: an in-memory database, for development purpose.
  • mongodb

The default database is memory. To change it, use a default collection.