mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-05-01 06:00:08 -05:00
added sections to DatabaseConnection
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user