Gets a collection interface (API access to the specified collection)
The name of the collection to create the interface for.
OptionalcollectionOptions: CollectionOptionsAn optional object for specifying an onCreate hook. The onCreate hook sets up a collection when it is created (e.g., to set up permissions)
The primary class of the Bazaar JS SDK to help you more easily build web apps with Bazaar.