Skip to main content

db

Function
This function is defined in the db module.

Signature

def db(configOrUrl: string | DbConfig = { type: 'memory' }) -> DbAdapter

Returns

Returns
DbAdapter
The result of the operation.