| #define SQT_COLUMN_CUSTOM_2 | ( | COLUMN_NAME, | |
| INSTANCE_NAME, | |||
| VALUE_SOURCE ) |
Defines a column with a custom instance name that binds to the specified custom value source.
| COLUMN_NAME | The name of the column in the database. |
| INSTANCE_NAME | The name of the column instance. |
| 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 custom name for the column instance. This is useful in scenarios where the auto-generated instance name would conflict with other names generated by the framework.