|
Clio
develop
The XRP Ledger API server.
|


Public Member Functions | |
| template<typename... Args> | |
| Statement (std::string_view query, Args &&... args) | |
| Construct a new statement with optionally provided arguments. | |
| Statement (CassStatement *ptr) | |
| template<typename... Args> | |
| void | bind (Args &&... args) const |
| Binds the given arguments to the statement. | |
| template<typename Type> | |
| void | bindAt (std::size_t const idx, Type &&value) const |
| Binds an argument to a specific index. | |
| Public Member Functions inherited from data::cassandra::impl::ManagedObject< CassStatement > | |
| ManagedObject (CassStatement *rawPtr, DeleterCallable deleter) | |
| operator CassStatement * () const | |
Additional Inherited Members | |
| Protected Attributes inherited from data::cassandra::impl::ManagedObject< CassStatement > | |
| std::unique_ptr< CassStatement, void(*)(CassStatement *)> | ptr_ |
|
inlineexplicit |
Construct a new statement with optionally provided arguments.
Note: it's up to the user to make sure the bound parameters match the format of the query (e.g. amount of '?' matches count of args).
|
inline |
Binds the given arguments to the statement.
| args | Arguments to bind |
|
inline |
Binds an argument to a specific index.
| idx | The index of the argument |
| value | The value to bind it to |