rorm_db_connect

Connect to the database using the provided DBConnectOptions.

To free the handle, use rorm_db_free.

extern (C)
void
rorm_db_connect

Parameters

options DBConnectOptions

connection and behavior options for the DB connection handle

callback DBConnectCallback

Callback that's called when the connection is established either successfully or unsuccessfully. The callback parameters are:

context void*

context pointer to pass through as-is into the callback.

This function is running in an asynchronous context.

Meta