![]() |
Home | Libraries | People | FAQ | More |
Binds parameters to a statement.
template< classWritableFieldTuple, typename EnableIf = typename std::enable_if<detail::is_writable_field_tuple<WritableFieldTuple>::value>::type>bound_statement_tuple< typename std::decay< WritableFieldTuple >::type > bind( WritableFieldTuple&& params) const;
Creates an object that packages *this and the statement actual parameters
params. This object can
be passed to connection::execute, connection::start_execution or their async
counterparts.
The params tuple is decay-copied
into the returned object.
This function doesn't involve communication with the server.
this->valid() == true
Strong guarantee. Only throws if the decay-copy of the tuple throws.