createCollection
Create a named collection in the default scope. If the collection already exists, the existing collection will be returned.
Return
the named collection in the default scope
Parameters
name
the scope in which to create the collection
Throws
on failure
Create a named collection in the specified scope. If the collection already exists, the existing collection will be returned.
Return
the named collection in the default scope
Parameters
collectionName
the name of the new collection
scopeName
the scope in which to create the collection
Throws
on failure