Configures basie to be used with the specified mysql connection.
Configures basie to be used with the specified postgres connection pool.
Configures basie to be used with the specified sqlite database.
Changes the current database engine to the specified engine.
Wraps the specified model with basie-specific methods that give it static
querying methods. This does not create a table within the database, and
instead expects the table to already be present. This function is called
a bit weirdly (Basie.wrap<_Model>()(_Model)
) to overcome some typescript
type system limits and statically typecheck that you're only using valid
members.
Generated using TypeDoc
Returns the engine currently in use, or throws if there is no engine configured.