Definition at line 113 of file SQLiteDB.h.
#include <SQLiteDB.h>
◆ column()
◆ ~column()
virtual KVSQLite::column::~column |
( |
| ) |
|
|
inlinevirtual |
◆ _type()
const char * column::_type |
( |
| ) |
|
|
private |
◆ binary_data()
T * KVSQLite::column::binary_data |
( |
| ) |
const |
|
inline |
◆ data()
◆ foreign_key()
bool KVSQLite::column::foreign_key |
( |
| ) |
const |
|
inline |
◆ get_data()
T KVSQLite::column::get_data |
( |
| ) |
const |
|
inline |
◆ get_declaration()
const char * column::get_declaration |
( |
| ) |
const |
return declaration for column, including type & constraint
Definition at line 360 of file SQLiteDB.cpp.
◆ get_table()
const char * KVSQLite::column::get_table |
( |
| ) |
const |
|
inline |
return name of parent table
Definition at line 167 of file SQLiteDB.h.
◆ index()
int KVSQLite::column::index |
( |
| ) |
const |
|
inline |
◆ init_type_map()
void column::init_type_map |
( |
| ) |
|
|
private |
◆ is_null()
bool KVSQLite::column::is_null |
( |
| ) |
const |
|
inline |
◆ name()
const char * KVSQLite::column::name |
( |
| ) |
const |
|
inline |
◆ operator=()
const column & KVSQLite::column::operator= |
( |
const T & |
x | ) |
|
|
inline |
◆ primary_key()
bool KVSQLite::column::primary_key |
( |
| ) |
const |
|
inline |
◆ print()
void KVSQLite::column::print |
( |
| ) |
const |
|
inline |
◆ set_binary_data() [1/2]
void KVSQLite::column::set_binary_data |
( |
T & |
x | ) |
|
|
inline |
◆ set_binary_data() [2/2]
void KVSQLite::column::set_binary_data |
( |
T * |
x | ) |
|
|
inline |
◆ set_constraint()
void KVSQLite::column::set_constraint |
( |
const TString & |
c | ) |
|
|
inline |
set constraint for column, one of:
PRIMARY KEY
UNIQUE
CHECK
NOT NULL
DEFAULT
Definition at line 226 of file SQLiteDB.h.
◆ set_data() [1/3]
◆ set_data() [2/3]
◆ set_data() [3/3]
void KVSQLite::column::set_data |
( |
const T & |
x | ) |
|
|
inline |
◆ set_data_from_statement()
set value of column according to value of parameter in statement
any column which has a NULL value will be given value 0, 0.0 or "" (for INTEGER
, REAL
or TEXT
type, respectively): use column::is_null() to check if this corresponds to a null column value.
- Parameters
-
idx | if given, use it as the statement parameter index instead of the column's index in the table (case where not all columns are treated in the statement) |
Definition at line 1010 of file SQLiteDB.cpp.
◆ set_data_in_statement()
set value of parameter in SQLite statement corresponding to this column
- Parameters
-
idx | if given, use it as the statement parameter index instead of the column's index in the table (case where not all columns are treated in the statement) |
Definition at line 967 of file SQLiteDB.cpp.
◆ set_foreign_key() [1/2]
void column::set_foreign_key |
( |
const table & |
_table, |
|
|
const column & |
_column |
|
) |
| |
declare this column to be a foreign key i.e. linked to the given _column name in another _table
Definition at line 1069 of file SQLiteDB.cpp.
◆ set_foreign_key() [2/2]
declare this column to be a foreign key i.e. linked to the given _column name in another _table
Definition at line 1054 of file SQLiteDB.cpp.
◆ set_null()
void KVSQLite::column::set_null |
( |
| ) |
|
|
inline |
◆ set_table()
void KVSQLite::column::set_table |
( |
const TString & |
name | ) |
|
|
inline |
◆ type()
◆ type_name()
const char * KVSQLite::column::type_name |
( |
| ) |
const |
|
inline |
◆ table
◆ fBlob
void* KVSQLite::column::fBlob |
|
mutableprivate |
◆ fBlobSize
Long_t KVSQLite::column::fBlobSize |
|
mutableprivate |
◆ fConstraint
TString KVSQLite::column::fConstraint |
|
private |
◆ fData
◆ fFKcolumn
TString KVSQLite::column::fFKcolumn |
|
private |
◆ fFKtable
◆ fForeignKey
bool KVSQLite::column::fForeignKey |
|
private |
◆ fIndex
int KVSQLite::column::fIndex |
|
private |
◆ fIsNull
bool KVSQLite::column::fIsNull |
|
mutableprivate |
◆ fNameType
◆ fPrimaryKey
bool KVSQLite::column::fPrimaryKey |
|
private |
◆ fTable
◆ inv_type_map