DatabaseBindings class

Inheritance

Constructors

DatabaseBindings(Bindings parent)

Properties

hashCode int
The hash code for this object.
no setterinherited
libs DynamicLibraries
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addChangeListener(Pointer<CBLDatabase> db, Pointer<CBLDartAsyncCallback> listener) → void
addDocumentChangeListener(Pointer<CBLDatabase> db, String docId, Pointer<CBLDartAsyncCallback> listener) → void
beginTransaction(Pointer<CBLDatabase> db) → void
bindToDartObject(Finalizable object, Pointer<CBLDatabase> db) → void
changeEncryptionKey(Pointer<CBLDatabase> db, CBLEncryptionKey? key) → void
close(Pointer<CBLDatabase> db) → void
copyDatabase(String from, String name, CBLDatabaseConfiguration? config) bool
count(Pointer<CBLDatabase> db) int
createIndex(Pointer<CBLDatabase> db, String name, CBLIndexSpec spec) → void
databaseExists(String name, String? inDirectory) bool
defaultConfiguration() CBLDatabaseConfiguration
delete(Pointer<CBLDatabase> db) → void
deleteDatabase(String name, String? inDirectory) bool
deleteDocumentWithConcurrencyControl(Pointer<CBLDatabase> db, Pointer<CBLDocument> document, CBLConcurrencyControl concurrencyControl) bool
deleteIndex(Pointer<CBLDatabase> db, String name) → void
encryptionKeyFromPassword(String password) CBLEncryptionKey
endTransaction(Pointer<CBLDatabase> db, {required bool commit}) → void
getBlob(Pointer<CBLDatabase> db, Pointer<FLDict> properties) Pointer<CBLBlob>?
getDocument(Pointer<CBLDatabase> db, String docId) Pointer<CBLDocument>?
getDocumentExpiration(Pointer<CBLDatabase> db, String docId) DateTime?
getMutableDocument(Pointer<CBLDatabase> db, String docId) Pointer<CBLMutableDocument>?
indexNames(Pointer<CBLDatabase> db) Pointer<FLArray>
name(Pointer<CBLDatabase> db) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(String name, CBLDatabaseConfiguration? config) Pointer<CBLDatabase>
path(Pointer<CBLDatabase> db) String
performMaintenance(Pointer<CBLDatabase> db, CBLMaintenanceType type) → void
purgeDocumentByID(Pointer<CBLDatabase> db, String docId) bool
saveBlob(Pointer<CBLDatabase> db, Pointer<CBLBlob> blob) → void
saveDocumentWithConcurrencyControl(Pointer<CBLDatabase> db, Pointer<CBLMutableDocument> doc, CBLConcurrencyControl concurrencyControl) → void
setDocumentExpiration(Pointer<CBLDatabase> db, String docId, DateTime? expiration) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited