| #define SQT_COLUMN_FIELD_2_DEFAULT | ( | COLUMN_NAME, | |
| INSTANCE_NAME, | |||
| FIELD, | |||
| DEFAULT_VALUE ) |
Defines a column with a custom instance name and a default value that binds to the specified field of the entity type.
| COLUMN_NAME | The name of the column in the database. |
| INSTANCE_NAME | The name of the column instance. |
| 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_2 macro, except that it allows specifying a default value for the column.
Example usage: