returns null if the collection does not exist
null
Waits for all pending writes to complete and reports any accumulated errors.
AggregateError
If one or more write operations failed.
Should be called before any operation on the database.
Throws