| Statement sqt::Database::PrepareStatement | ( | std::string_view | sql | ) |
Prepares the specified SQL statement.
| sql | The SQL statement to prepare. |
| sqt::SQLError | Thrown if fails to prepare the SQL statement. |
Consider reusing the returned statement instance for the same SQL statement in a batch operation to gain the best performance.