struct SqlColumnInfo : public Moveable<SqlColumnInfo>
This strusture is used to describe a column of SQL database table. Validity and exact meaning of attributes depends on database used, except for name, type and nullable which are always valid.
String name
The name of column.
int type
The type of column as Value type id. One of INT_V, DOUBLE_V, DATE_V, TIME_V, WSTRING_V, STRING_V, SQLRAW_V, INT64_V, BOOL_V; exact set of values permitted depends on database engine used.
int width
Size of column.
int precision
Number of total digits in numeric types.
int scale
Number of digits after comma in numeric types.
bool nullable
Column can contain NULL values.
bool binary
Column contains binary data.
|