Describes database transaction support modes.
You can find more information in comments below.
enum class DbTransactionSupport
{
Unknown,
None, // Transactions not supported.
DataManipulation, // Transactions can contain only Data Manipulation Language (DML) statements (SELECT, INSERT, UPDATE, DELETE). Data Definition Language (DDL) statements encountered in a transaction cause an error.
DataDefinitionCommit, // Transactions can contain only DML statements. DDL statements (CREATE TABLE, DROP INDEX, and so on) encountered in a transaction cause the transaction to be committed.
DataDefinitionIgnore, // Transactions can contain only DML statements. DDL statements encountered in a transaction are ignored.
All // Transactions can contain DDL statements and DML statements in any order.
};
Namespace: | nitisa |
Include: | Nitisa/Db/DbTransactionSupport.h |