Closes the connection with the database. Should only be called after connect.
Performs authentication and connect to a database. It is possible to reconnect using the same object by calling close and then connect again.
Deletes row from a table.
Deletes zero or one row using the entity's primary key(s).
Deletes a table. May throw an exception if the table does not exist.
Deletes a table if exists.
Initializes an entity, either by creating it or updating its fields when it already exists.
Inserts a new entity into the database. This method does not alter the entity: to update it after an insert use select.
Selects entities from the database using the optional given clauses. The name of the fields should correspond to the name of the entity's fields in the database, not to the ones in the D program.
Selects an entity from its primary key(s).
Selects one entity from the database.
Updates one or more table fields. The given fields should correspond to the ones in the entity class, not to the ones in the database.
Updates a single row of a table searching by the entity's primary key(s).
Indicates the name of the database opened or null if the database isn't connected.
Result of a select query.
Clauses for select. It is possible to instantiate the struct with the parameters in any order.
Represents a generic database.