Couchbase Lite C
Couchbase Lite C API
|
Database configuration options. More...
#include <cbl/CBLDatabase.h>
Data Fields | |
FLString | directory |
The parent directory of the database. More... | |
CBLEncryptionKey | encryptionKey |
The database's encryption key (if any) More... | |
bool | fullSync |
As Couchbase Lite normally configures its databases, There is a very small (though non-zero) chance that a power failure at just the wrong time could cause the most recently committed transaction's changes to be lost. More... | |
Database configuration options.
FLString CBLDatabaseConfiguration::directory |
The parent directory of the database.
CBLEncryptionKey CBLDatabaseConfiguration::encryptionKey |
The database's encryption key (if any)
bool CBLDatabaseConfiguration::fullSync |
As Couchbase Lite normally configures its databases, There is a very small (though non-zero) chance that a power failure at just the wrong time could cause the most recently committed transaction's changes to be lost.
This would cause the database to appear as it did immediately before that transaction.
Setting this mode true ensures that an operating system crash or power failure will not cause the loss of any data. FULL synchronous is very safe but it is also dramatically slower.