Represents a returned row when stepping through a "SELECT" statement. More...
#include <Statement.h>
Public Member Functions | |
| row (sqlite3_stmt *const statement) noexcept | |
| Constructs a row object from a sqlite3_stmt. | |
| sqlite3_stmt * | handle () const noexcept |
| Returns pointer to the underlying "sqlite3_stmt" object. | |
| value | operator[] (int column) const |
| Access specified element of a row. More... | |
| value | operator[] (const std::string &name) const |
| Access specified element of a row. More... | |
| int | get_int (const int column) const noexcept |
| Returns the specified column value as an integer. More... | |
| int | get_int (const std::string &name) const noexcept |
| Returns the specified column value as an integer. More... | |
| int64_t | get_int64 (const int column) const noexcept |
| Returns the specified column value as a 64-bit integer. More... | |
| int64_t | get_int64 (const std::string &name) const noexcept |
| Returns the specified column value as a 64-bit integer. More... | |
| unsigned int | get_uint (const int column) const noexcept |
| Returns the specified column value as an unsigned integer. More... | |
| unsigned int | get_uint (const std::string &name) const noexcept |
| Returns the specified column value as an unsigned integer. More... | |
| double | get_double (const int column) const noexcept |
| Returns the specified column value as a double. More... | |
| double | get_double (const std::string &name) const noexcept |
| Returns the specified column value as a double. More... | |
| const blob | get_blob (const int column) const noexcept |
| Returns the specified column value as a blob object. More... | |
| const blob | get_blob (const std::string &name) const noexcept |
| Returns the specified column value as a Blob object. More... | |
| const std::string | get_string (const int column) const noexcept |
| Returns the specified column value as a string. More... | |
| const std::string | get_string (const std::string &name) const noexcept |
| Returns the specified column value as a string. More... | |
| const std::u16string | get_u16string (const int column) const noexcept |
| Returns the specified column value as a UTF-16 string. More... | |
| const std::u16string | get_u16string (const std::string &name) const noexcept |
| Returns the specified column value as a UTF-16 string. More... | |
| value | get_value (const int column) const noexcept |
| Returns the specified column value as a value object. More... | |
| value | get_value (const std::string &name) const |
| Returns the specified column value as a value object. More... | |
| int | get_bytes (const int column) const noexcept |
| Returns the size in bytes of the column value. More... | |
| int | get_bytes (const std::string &name) const noexcept |
| Returns the size in bytes of the column value. More... | |
| datatype | get_type (const int column) const noexcept |
| Returns the type of the specified column. More... | |
| datatype | get_type (const std::string &name) const noexcept |
| Returns the type of the specified column. More... | |
| int | column_count () const noexcept |
| Returns the number of columns in the result set returned by the prepared statement. More... | |
| const char * | get_column_name (const int index) const noexcept |
| Returns the name assigned to a particular column. More... | |
| const char16_t * | get_column_wide_name (const int index) const noexcept |
| Returns the name assigned to a particular column. More... | |
| int | get_column_index (const std::string &name) const |
| Returns the position of a column with the specified name. More... | |
Represents a returned row when stepping through a "SELECT" statement.
Definition at line 307 of file Statement.h.
|
inlinenoexceptinherited |
Returns the number of columns in the result set returned by the prepared statement.
If this method returns 0, that means the prepared statment returns no data (for example an UPDATE).
Definition at line 234 of file Statement.h.
|
inlinenoexceptinherited |
Returns the specified column value as a blob object.
| [in] | column | position of the column to return |
Definition at line 116 of file Statement.h.
|
inlinenoexceptinherited |
Returns the specified column value as a Blob object.
| [in] | name | name of the column to return |
Definition at line 126 of file Statement.h.
|
inlinenoexceptinherited |
Returns the size in bytes of the column value.
| [in] | column | position of the column to return |
Definition at line 196 of file Statement.h.
|
inlinenoexceptinherited |
Returns the size in bytes of the column value.
| [in] | name | name of the column to return |
Definition at line 205 of file Statement.h.
|
inlineinherited |
Returns the position of a column with the specified name.
| SQLiteXXException | if no column with specified name was found |
Definition at line 261 of file Statement.h.
|
inlinenoexceptinherited |
Returns the name assigned to a particular column.
| [in] | index | the position of the column |
Definition at line 243 of file Statement.h.
|
inlinenoexceptinherited |
Returns the name assigned to a particular column.
| [in] | index | the position of the column |
Definition at line 252 of file Statement.h.
|
inlinenoexceptinherited |
Returns the specified column value as a double.
| [in] | column | position of the column to return |
Definition at line 97 of file Statement.h.
|
inlinenoexceptinherited |
Returns the specified column value as a double.
| [in] | name | name of the column to return |
Definition at line 106 of file Statement.h.
|
inlinenoexceptinherited |
Returns the specified column value as an integer.
| [in] | column | position of the column to return |
Definition at line 40 of file Statement.h.
|
inlinenoexceptinherited |
Returns the specified column value as an integer.
| [in] | name | name of the column to return |
Definition at line 49 of file Statement.h.
|
inlinenoexceptinherited |
Returns the specified column value as a 64-bit integer.
| [in] | column | position of the column to return |
Definition at line 59 of file Statement.h.
|
inlinenoexceptinherited |
Returns the specified column value as a 64-bit integer.
| [in] | name | name of the column to return |
Definition at line 68 of file Statement.h.
|
inlinenoexceptinherited |
Returns the specified column value as a string.
| [in] | column | position of the column to return |
Definition at line 136 of file Statement.h.
|
inlinenoexceptinherited |
Returns the specified column value as a string.
| [in] | name | name of the column to return |
Definition at line 146 of file Statement.h.
|
inlinenoexceptinherited |
Returns the type of the specified column.
| [in] | column | position of the column to return |
Definition at line 215 of file Statement.h.
|
inlinenoexceptinherited |
Returns the type of the specified column.
| [in] | name | name of the column to return |
Definition at line 224 of file Statement.h.
|
inlinenoexceptinherited |
Returns the specified column value as a UTF-16 string.
| [in] | column | position of the column to return |
Definition at line 156 of file Statement.h.
|
inlinenoexceptinherited |
Returns the specified column value as a UTF-16 string.
| [in] | name | name of the column to return |
Definition at line 166 of file Statement.h.
|
inlinenoexceptinherited |
Returns the specified column value as an unsigned integer.
| [in] | column | position of the column to return |
Definition at line 78 of file Statement.h.
|
inlinenoexceptinherited |
Returns the specified column value as an unsigned integer.
| [in] | name | name of the column to return |
Definition at line 87 of file Statement.h.
|
inlinenoexceptinherited |
Returns the specified column value as a value object.
| [in] | column | position of the column to return |
Definition at line 176 of file Statement.h.
|
inlineinherited |
Returns the specified column value as a value object.
| [in] | name | name of the column to return |
Definition at line 185 of file Statement.h.
|
inline |
Access specified element of a row.
| [in] | column | position of the column to return |
Definition at line 328 of file Statement.h.
|
inline |
Access specified element of a row.
| [in] | name | column name of the column to return |
Definition at line 337 of file Statement.h.
1.8.6