- createDatabase<DEF, TRANSFORMER>(definition, adapter, transformer?): Database<DEF, TRANSFORMER>
Type Parameters
TRANSFORMER extends DatabaseTransformerMap<DEF>
Parameters
definition: DEF
adapter: DatabaseAdapter<AllowAnyTypeInformation>
Optional
transformer: TRANSFORMER
Returns Database<DEF, TRANSFORMER>