| #define SQT_COLUMN_FIELD_DEFAULT | ( | COLUMN_NAME, | |
| FIELD, | |||
| DEFAULT_VALUE ) |
Defines a column with a default value that binds to the specified field of the entity type.
| COLUMN_NAME | The name of the column in the database. It will be also used as the instance name of the column. |
| FIELD | The field of the entity type to which the column is bound. |
| DEFAULT_VALUE | The default value of the column. |
This macro is similar to the SQT_COLUMN_FIELD macro, except that it allows specifying a default value for the column.
Example usage: