DatabaseFactoryDatabaseExists Method |
Checks if underlying data exists for a given database in the given directory.
A null directory will check the library default directory for the platform
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0033
Syntax public static bool DatabaseExists(
string name,
string directory
)
Parameters
- name
- Type: SystemString
The name of the database to check for - directory
- Type: SystemString
The directory to check in
Return Value
Type:
Booleantrue if data exists,
false otherwise
Exceptions See Also