added sections to DatabaseConnection

This commit is contained in:
silverqx
2022-01-14 16:08:49 +01:00
parent b36888ae93
commit ca2bc35519
2 changed files with 11 additions and 0 deletions
+5
View File
@@ -101,6 +101,7 @@ namespace Schema
/*! Get the number of active transactions. */
inline std::size_t transactionLevel() const;
/* Running SQL Queries */
/*! Run a select statement against the database. */
QSqlQuery
select(const QString &queryString,
@@ -476,6 +477,8 @@ namespace Schema
return *this;
}
/* protected */
template<typename Return>
Return
DatabaseConnection::run(
@@ -536,6 +539,8 @@ namespace Schema
return std::invoke(callback, queryString, bindings);
}
/* private */
template<typename Return>
Return
DatabaseConnection::handleQueryException(