returns null if the collection does not exist
null
Waits for all pending writes to complete and reports any accumulated errors.
Should be called before any operation on the database.
Throws