3 #ifndef __SQLITEXX_SQLITE_OPEN_H__
4 #define __SQLITEXX_SQLITE_OPEN_H__
17 create = SQLITE_OPEN_CREATE,
18 uri = SQLITE_OPEN_URI,
19 memory = SQLITE_OPEN_MEMORY,
28 static_cast<std::underlying_type<openmode>::type
>(lhs) &
29 static_cast<std::underlying_type<openmode>::type
>(rhs));
34 static_cast<std::underlying_type<openmode>::type
>(lhs) |
35 static_cast<std::underlying_type<openmode>::type
>(rhs));
40 static_cast<std::underlying_type<openmode>::type
>(lhs) |
41 static_cast<std::underlying_type<openmode>::type
>(rhs));
46 static_cast<std::underlying_type<openmode>::type
>(flag));
50 return lhs = lhs & rhs;
54 return lhs = lhs | rhs;
58 return lhs = lhs ^ rhs;
database connections opens in the multi-thread threading mode as long as the single-thread mode has n...
openmode
Different ways to open a dbconnection.
database will be created if it does not already exist
database connection opens in the serialized threading mode unless single-thread was previously select...
causes the database connection to not participate in shared cache mode even if it is enabled...
URI filename interpretation is enabled.
open an in memory database
opened for reading and writing if possible, or reading only if the file is write protected by the ope...
causes the database connection to be eligible to use shared cache mode, regardless of whether or not ...