Orionjs provides a flexible system for configuring and managing MongoDB connections. This allows you to connect to multiple MongoDB instances or databases as needed.Documentation Index
Fetch the complete documentation index at: https://www.orionjs.com/llms.txt
Use this file to discover all available pages before exploring further.
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.