23 #ifndef __ccxx_SQLDatabase_hxx 24 #define __ccxx_SQLDatabase_hxx 66 void open(
const String& path,
bool create =
true,
bool readOnly =
false);
118 int64_t getGeneratedKey();
121 uint_t getModifiedRowCount();
158 virtual bool onProgress();
164 virtual void onCommit();
170 virtual void onRollback();
176 static int _progressCallback(
void*
self);
177 static int _commitCallback(
void*
self);
178 static void _rollbackCallback(
void*
self);
179 static int _execCallback(
void*
self,
int cols,
char** values,
233 #endif // __ccxx_SQLDatabase_hxx
unsigned int uint_t
An alias for unsigned int.
Definition: Integers.h++:74
A scoped database transaction.
Definition: SQLDatabase.h++:196
An SQL prepared statement that can be efficiently executed multiple times.
Definition: SQLQuery.h++:57
A class representing a session with an embedded SQL database.
Definition: SQLDatabase.h++:43
A flexible, reference counted, copy-on-write, thread-safe, nullable string.
Definition: String.h++:50
#define CCXX_COPY_DECLS(CLASS)
Inlines declarations of a copy constructor and assignment operator for the class CLASS.
Definition: Common.h++:295
Definition: AllocationMap.c++:25
#define COMMONCPPDB_API
Definition: Common.h++:127