Create a new ConnectionManager instance
Get or set the default connection name
Add a new named database connection
Unique name to identify this connection
Prorm options for the connection
The Prorm instance for the new connection
Get a connection by name
The connection name
The Prorm instance or undefined if not found
Attach a SQLite database using ATTACH DATABASE This allows querying across multiple SQLite files
The name of the main connection to attach to
The alias to use for the attached database
Path to the SQLite file to attach
Execute a raw query on a specific connection
The name of the connection to use
The SQL query to execute
Optionaloptions: {Optional query options
Query results
Connection Manager class for managing multiple database connections Allows switching between different databases in the same application