Database class
Properties
Methods
-
close(
) → Future< void> - Closes database.
-
deleteDocument(
String id) → Future< void> -
Deletes document with
id
from the database. -
documentWithId(
String id) → Future< Document> -
Gets a Document object with the given
id
-
saveDocument(
Document doc) → Future< String> -
Saves
doc
to the database with the document id set by the database. -
saveDocumentWithId(
String id, Document doc) → Future< String> -
Saves
doc
to the database with the Document id set toid
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited
Static Methods
-
deleteWithName(
String dbName) → Future< void> -
Deletes a database of the given
dbName
. -
initWithName(
String dbName) → Future< Database> -
Initializes a Couchbase Lite database with the given
dbName
.