Back to Keystone Classic

Open Database Connection

docs/api/Methods/openDatabaseConnection.md

4.2.1376 B
Original Source

Open Database Connection

keystone.openDatabaseConnection(callback:Function)

Opens a database connection using the options set in Keystone. If the Keystone database settings are not configured, or the models are not registered, this will fail.

openDatabaseConnection is called by start, and will be called before the express server is started.