MySqlModel

Creates a new mysql model.

Constructors

this
this()

Creates a new database model.

Members

Properties

row
Row row [@property setter]

Sets the native row. Settings this manually outside the engine is undefined-behavior.

row
Row row [@property getter]

Gets the raw row.

Static variables

table
string table;

The table name.

Inherited Members

From Model

readModel
void readModel()

Reads the model from the reader. Called internally from readSingle & readMany

insertModel
void insertModel()

Inserts the model.

updateModel
void updateModel()

Updates the model.

deleteModel
void deleteModel()

Deletes the model.

Parameters

tableName

The name of the table the model is associated with.

Meta