Sqlitepp
1.2.3
A thin sqlite C++ wrapper
|
Column metadata info. More...
#include <sqlite.hpp>
Public Attributes | |
std::string | type |
Column's declared data type. More... | |
std::string | collation |
Name of default collation sequence. More... | |
bool | not_null = false |
true if the column has a NOT NULL constraint More... | |
bool | primary_key = false |
true if column is part of the PRIMARY KEY More... | |
bool | auto_inc = false |
true True if column is AUTOINCREMENT More... | |
Column metadata info.
This is the return type for table_column_metadata()
std::string sqlite::Connection::Column_metadata::type |
Column's declared data type.
std::string sqlite::Connection::Column_metadata::collation |
Name of default collation sequence.
bool sqlite::Connection::Column_metadata::not_null = false |
true
if the column has a NOT NULL constraint
bool sqlite::Connection::Column_metadata::primary_key = false |
true
if column is part of the PRIMARY KEY
bool sqlite::Connection::Column_metadata::auto_inc = false |
true
True if column is AUTOINCREMENT