#include <DatabaseSQLStatements.h>
Public Member Functions | |
DatabaseColumnInfo (const char *_name, const char *_type, bool _primaryKey=0, bool _unique=0, const char *_refTable=NULL, const char *_refColumn=NULL, bool _notNull=0, bool _onDeleteCascade=0) | |
DatabaseColumnInfo () | |
Public Attributes | |
CStdString | name |
CStdString | type |
CStdString | refTable |
CStdString | refColumn |
bool | primaryKey |
bool | unique |
bool | notNull |
bool | onDeleteCascade |
|
Simple constructor.
|
|
Default constructor.
|
|
Column name.
|
|
Column type.
|
|
Table name for REFERENCES constrain if needed.
|
|
Column name for REFERENCES constrain if needed.
|
|
Use PRIMARY KEY constraint?
|
|
Use UNIQUE constraint?
|
|
Use NOT NULL constraint?
|
|
Use ON DELETE CASCADE constaint? (If set,
|