Revision d2c13492
Von Christian Ehringfeld vor mehr als 9 Jahren hinzugefügt
src/database.cpp | ||
---|---|---|
|
||
|
||
bool Database::commitTransaction() {
|
||
return this->supportTransactions &&this->database.commit();
|
||
return this->supportTransactions && this->database.commit();
|
||
}
|
||
|
||
bool Database::rollbackTransaction() {
|
src/schema.cpp | ||
---|---|---|
#include "database.h"
|
||
using namespace CuteEntityManager;
|
||
|
||
Schema::Schema(QSharedPointer<Database> database, QSharedPointer<QueryBuilder> builder)
|
||
{
|
||
Schema::Schema(QSharedPointer<Database> database,
|
||
QSharedPointer<QueryBuilder> builder) {
|
||
this->database = database;
|
||
this->abstractTypeMap = QSharedPointer<QHash<QString, QString>>
|
||
(new QHash<QString, QString>());
|
Auch abrufbar als: Unified diff
formatting