A sqlite value.
More...
#include <sqlitevalue.h>
◆ SqliteValue() [1/3]
Nickvision::Database::SqliteValue::SqliteValue |
( |
sqlite3_value * | value | ) |
|
|
noexcept |
◆ SqliteValue() [2/3]
Nickvision::Database::SqliteValue::SqliteValue |
( |
const SqliteValue & | other | ) |
|
|
noexcept |
◆ SqliteValue() [3/3]
Nickvision::Database::SqliteValue::SqliteValue |
( |
SqliteValue && | other | ) |
|
|
noexcept |
◆ ~SqliteValue()
Nickvision::Database::SqliteValue::~SqliteValue |
( |
| ) |
|
|
noexcept |
◆ as()
template<SupportedSqliteValue T>
T Nickvision::Database::SqliteValue::as |
( |
| ) |
const |
|
inlinenoexcept |
Gets the sqlite value as a specific type.
- Template Parameters
-
T | The type to get the sqlite value as (Can be: int, std::int64_t, double, bool, std::string) |
- Returns
- The sqlite value as the specified type
-
A default value if the sqlite value is not of the specified type
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following file: