Checks whether a database of the given name exists in the given directory or not. If a
null directory is passed then the default directory is checked
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.1.0-b0232
Syntax public static bool Exists(
string name,
string directory
)
Parameters
- name
- Type: SystemString
The database name - directory
- Type: SystemString
The directory where the database is located
Return Value
Type:
Booleantrue if the database exists in the directory, otherwise
falseExceptions See Also