| #define SQT_COLUMN_CUSTOM_DEFAULT | ( | COLUMN_NAME, | |
| VALUE_SOURCE, | |||
| DEFAULT_VALUE ) |
Defines a column with a default value that binds to the specified custom value source.
| COLUMN_NAME | The name of the column in the database. It will be also used as the instance name of the column. |
| VALUE_SOURCE | A type that satisfies the sqt::ValueSourceType concept, which defines the value type and methods for retrieving and setting values in an entity instance. |
This macro is similar to the SQT_COLUMN_CUSTOM macro, except that it allows specifying a default value for the column.