Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
|
Go to the documentation of this file.
23 #ifndef CORE_SERVER_SQLITE_INCLUDE_SQLITE_COLUMN_H_
24 #define CORE_SERVER_SQLITE_INCLUDE_SQLITE_COLUMN_H_
bool slc_unique_flag
Does this column have a UNIQUE constraint?
Definition: sqlite_column.h:55
A datatype to model an SQLite column.
Definition: sqlite_column.h:34
bool slc_null_flag
Can the column contain NULL values?
Definition: sqlite_column.h:60
#define GRASSROOTS_SQLITE_API
Definition: sqlite_library.h:46
void FreeSQLiteColumnNode(ListItem *node_p)
SQLiteColumnNode * AllocateSQLiteColumnNode(const char *name_s, uint32 datatype, bool primary_key_flag, bool unique_flag, bool can_be_null_flag, const char *check_s)
const char * GetSQLiteColumnDatatypeAsString(const SQLiteColumn *column_p)
void FreeSQLiteColumn(SQLiteColumn *column_p)
bool slc_primary_key_flag
Is this column the primary key in its table?
Definition: sqlite_column.h:70
SQLiteColumn * sqlcn_column_p
The SQLiteColumn.
Definition: sqlite_column.h:84
uint32 slc_type
The datatype for the column.
Definition: sqlite_column.h:50
char * slc_check_s
The column's CHECK constraint.
Definition: sqlite_column.h:65
char * GetSQLiteColumnAsString(const SQLiteColumn *column_p)
char * slc_name_s
The name of the column.
Definition: sqlite_column.h:39
A datatype for storing a SQLiteColumn on a LinkedList.
Definition: sqlite_column.h:78
SQLiteColumn * AllocateSQLiteColumn(const char *name_s, uint32 datatype, bool primary_key_flag, bool unique_flag, bool can_be_null_flag, const char *check_s)
A doubly-linked node that points to its predecessor and successor.
Definition: linked_list.h:43
ListItem sqlcn_node
The base ListItem.
Definition: sqlite_column.h:81