Configuring MongoDB connections in Orionjs
MONGO_URL
or env.mongo_url
environment variable. This is the simplest way to get started:
startConnection
on the collection. This lazy initialization prevents unnecessary connections when a collection is defined but not used.