Companion

expect object Companion(source)
actual object Companion(source)
actual object Companion(source)

Properties

Link copied to clipboard
expect val log: Log

Gets the logging controller for the Couchbase Lite library to configure the logging settings and add custom logging.

actual val log: Log
actual val log: Log
Link copied to clipboard

ENTERPRISE EDITION API

Functions

Link copied to clipboard
expect fun copy(path: String, name: String, config: DatabaseConfiguration? = null)

Make a copy of a database in a new location. It is recommended that this method not be used on an open database.

actual fun copy(path: String, name: String, config: DatabaseConfiguration?)
actual fun copy(path: String, name: String, config: DatabaseConfiguration?)
Link copied to clipboard
expect fun delete(name: String, directory: String? = null)

Deletes a database of the given name in the given directory.

actual fun delete(name: String, directory: String?)
actual fun delete(name: String, directory: String?)
Link copied to clipboard
expect fun exists(name: String, directory: String? = null): Boolean

Checks whether a database of the given name exists in the given directory or not.

actual fun exists(name: String, directory: String?): Boolean
actual fun exists(name: String, directory: String?): Boolean