boost_sqlite 1
A sqlite C++ library
|
A holder for a sqlite field, i.e. something returned from a query. More...
#include <include/boost/sqlite/field.hpp>
Public Member Functions | |
cstring_ref | column_name () const |
Returns the name of the column. | |
cstring_ref | column_origin_name () const |
Returns the name of the original data source. | |
blob_view | get_blob () const |
Returns the value as blob, i.e. raw memory. Note that this value may be invalidated`. | |
double | get_double () const |
Returns the value as an double . | |
int | get_int () const |
Returns the value as regular int . | |
sqlite3_int64 | get_int64 () const |
Returns the value as an int64 . | |
cstring_ref | get_text () const |
Returns the value as text, i.e. a string_view. Note that this value may be invalidated`. | |
value | get_value () const |
Returns the field as a value. | |
bool | is_null () const |
Is the held value null. | |
operator bool () const | |
Is the held value is not null. | |
cstring_ref | table_name () const |
Returns the name of the table. | |
value_type | type () const |
The type of the value. | |
A holder for a sqlite field, i.e. something returned from a query.