SyncDatabase constructor

SyncDatabase(
  1. String name, [
  2. DatabaseConfiguration? config
])

Opens a Couchbase Lite database with the given name and config, which executes in the current isolate.

If the database does not yet exist, it will be created.

Implementation

factory SyncDatabase(String name, [DatabaseConfiguration? config]) =>
    SyncDatabase.internal(name, config);