Method CollectionExists
CollectionExists(string)
Tests whether a collection exists on this database.
public virtual bool CollectionExists(string collectionName)
Parameters
collectionName
stringThe name of the collection.
Returns
- bool
True if the collection exists.