Skip to main content
Get a collection by its name. If the collection does not exist, it will be created.

Parameters

name
string
The name of the collection

Returns

A collection object.