Skip to content

defineDatabase

function defineDatabase<TSchema>(options): DatabaseOptions<TSchema>;

Defined in: core/src/database/database.service.ts:77

Identity helper that returns its DatabaseOptions unchanged, used to define a database with its TSchema type inferred at the call site.

Type Parameter
TSchema
Parameter Type
options DatabaseOptions<TSchema>

DatabaseOptions<TSchema>