Database topic
Classes
- AsyncCollection Database
- A Collection with a primarily asynchronous API.
- AsyncDatabase Database
- A Database with a primarily asynchronous API.
-
AsyncSaveTypedDocument<
D extends TypedDocumentObject< Database Typed DataObject> , MD extends TypedMutableDocumentObject<TypedDocumentObject< >Object> , TypedDocumentObject<Object> > - The result of AsyncCollection.saveTypedDocument, which needs to be used to actually save the document.
- AsyncScope Database
- A Scope with a primarily asynchronous API.
- CollectionChange Database
- A Collection change event.
- Database Database
- A Couchbase Lite database.
- DatabaseChange Database
- A Database change event.
- DatabaseConfiguration Database
- Configuration for opening or copying a Database.
- DocumentChange Database
- A Document change event.
- EncryptionKey Database Enterprise Edition
- A key used to encrypt a Database.
-
SaveTypedDocument<
D extends TypedDocumentObject< Database Typed DataObject> , MD extends TypedMutableDocumentObject<TypedDocumentObject< >Object> , TypedDocumentObject<Object> > - The result of Collection.saveTypedDocument, which needs to be used to actually save the document.
- Scope Database
- A namespace for Collections.
- SyncCollection Database
- A Collection with a primarily synchronous API.
- SyncDatabase Database
- A Database with a primarily synchronous API.
-
SyncSaveTypedDocument<
D extends TypedDocumentObject< Database Typed DataObject> , MD extends TypedMutableDocumentObject<TypedDocumentObject< >Object> , TypedDocumentObject<Object> > - The result of SyncCollection.saveTypedDocument, which needs to be used to actually save the document.
- SyncScope Database
- A Scope with a primarily synchronous API.
Enums
- ConcurrencyControl Database
- Conflict-handling options when saving or deleting a document.
- MaintenanceType Database
- The type of maintenance a database can perform.
Typedefs
- CollectionChangeListener = void Function(CollectionChange change) Database
- Listener which is called when one or more Documents in a Collection have changed.
- DatabaseChangeListener = void Function(DatabaseChange change) Database
- Listener which is called when one or more Documents in a Database have changed.
- DocumentChangeListener = void Function(DocumentChange change) Database
- Listener which is called when a single Document has changed.
-
SaveConflictHandler
= FutureOr<
bool> Function(MutableDocument documentBeingSaved, Document? conflictingDocument) Database - Custom conflict handler for saving a document.
- SyncSaveConflictHandler = bool Function(MutableDocument documentBeingSaved, Document? conflictingDocument) Database
- Custom sync conflict handler for saving a document.
-
TypedSaveConflictHandler<
D extends TypedDocumentObject< Object> , MD extends TypedMutableDocumentObject<TypedDocumentObject< > = FutureOr<Object> , TypedDocumentObject<Object> >bool> Function(MD documentBeingSaved, D? conflictingDocument) Database Typed Data - Custom conflict handler for saving a typed document.
-
TypedSyncSaveConflictHandler<
D extends TypedDocumentObject< Object> , MD extends TypedMutableDocumentObject<TypedDocumentObject< > = bool Function(MD documentBeingSaved, D? conflictingDocument) Database Typed DataObject> , TypedDocumentObject<Object> > - Custom sync conflict handler for saving a typed document.