◆ bindDouble()
void Statement::bindDouble |
( |
int32_t |
pos, |
|
|
double |
value |
|
) |
| |
|
inlineoverridevirtual |
Bind the designated parameter to the given 64bit floating point number value.
- Parameters
-
pos | The position of the parameter in the query |
value | The value to bind |
Implements ledger::core::api::DatabaseStatement.
◆ bindFloat()
void Statement::bindFloat |
( |
int32_t |
pos, |
|
|
float |
value |
|
) |
| |
|
inlineoverridevirtual |
Bind the designated parameter to the given 32bit floating point number value.
- Parameters
-
pos | The position of the parameter in the query |
value | The value to bind |
Implements ledger::core::api::DatabaseStatement.
◆ bindInt()
void Statement::bindInt |
( |
int32_t |
pos, |
|
|
int32_t |
value |
|
) |
| |
|
inlineoverridevirtual |
Bind the designated parameter to the given 32bit integer value.
- Parameters
-
pos | The position of the parameter in the query |
value | The value to bind |
Implements ledger::core::api::DatabaseStatement.
◆ bindLong()
void Statement::bindLong |
( |
int32_t |
pos, |
|
|
int64_t |
value |
|
) |
| |
|
inlineoverridevirtual |
Bind the designated parameter to the given 64bit integer value.
- Parameters
-
pos | The position of the parameter in the query |
value | The value to bind |
Implements ledger::core::api::DatabaseStatement.
◆ bindNull()
void Statement::bindNull |
( |
int32_t |
pos | ) |
|
|
inlineoverridevirtual |
Bind the designated parameter to the NULL value in SQL.
- Parameters
-
pos | The position of the parameter in the query |
value | The value to bind |
Implements ledger::core::api::DatabaseStatement.
◆ bindShort()
void Statement::bindShort |
( |
int32_t |
pos, |
|
|
int16_t |
value |
|
) |
| |
|
inlineoverridevirtual |
Bind the designated parameter to the given 16bit integer value.
- Parameters
-
pos | The position of the parameter in the query |
value | The value to bind |
Implements ledger::core::api::DatabaseStatement.
◆ bindString()
void Statement::bindString |
( |
int32_t |
pos, |
|
|
const std::string & |
value |
|
) |
| |
|
inlineoverridevirtual |
◆ close()
void Statement::close |
( |
| ) |
|
|
inlineoverridevirtual |
◆ describeColumn()
◆ execute()
◆ getColumnCount()
int32_t Statement::getColumnCount |
( |
| ) |
|
|
inlineoverridevirtual |
Get the number of column that will be available into the result row (e.g. "SELECT name, age FROM USERS" would return 2).
- Returns
- The number of the columns available in the result
Implements ledger::core::api::DatabaseStatement.
◆ reset()
void Statement::reset |
( |
| ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file:
- test/database/MemoryDatabaseProxy.cpp