SQT
A C++ ORM framework for SQLite
Loading...
Searching...
No Matches

◆ BindParameter() [4/6]

void sqt::Statement::BindParameter ( int parameter_index,
std::string_view string )

Binds the specified UTF-8 encoded string to the parameter at the specified index.

Parameters
parameter_indexThe index of the parameter at where the string is bound.
stringThe string to bind. The string is copied to the statement.
Exceptions
sqt::SQLErrorThrown if fails to bind the string.