| void sqt::Database::ExecuteSQL | ( | std::string_view | sql | ) |
Executes the specified SQL statement.
| sql | The SQL statement to execute. |
| sqt::SQLError | Thrown if fails to execute the SQL statement. |
This method is equivalent to calling:
A statement is created and destroyed every time this method is called. If the same SQL statement needs to be executed multiple times in a batch operation, consider using PrepareStatement and reuse the returned statement instance.