Default Connection
By default, Orionjs will look for a MongoDB connection string in theMONGO_URL or env.mongo_url environment variable. This is the simplest way to get started:
Connection Initialization
Connections are not started until you call any method in a collection or explicitly callstartConnection on the collection. This lazy initialization prevents unnecessary connections when a collection is defined but not used.