Documentation ¶
Index ¶
- type Collections
- func (c Collections) CheckIfExists(collectionID model.Identifier) (bool, *model.Collection)
- func (c Collections) CreateCollection(collectionID model.Identifier, schema model.Schema, metadata model.Metadata, ...)
- func (c Collections) DeleteCollection(collectionID model.Identifier)
- func (c Collections) GetCollection(collectionID model.Identifier) *model.Collection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collections ¶
type Collections map[model.Identifier]*model.Collection
func UseDatabase ¶
func UseDatabase(database model.Database) Collections
func (Collections) CheckIfExists ¶
func (c Collections) CheckIfExists(collectionID model.Identifier) (bool, *model.Collection)
func (Collections) CreateCollection ¶
func (c Collections) CreateCollection(collectionID model.Identifier, schema model.Schema, metadata model.Metadata, access model.Access)
func (Collections) DeleteCollection ¶
func (c Collections) DeleteCollection(collectionID model.Identifier)
func (Collections) GetCollection ¶
func (c Collections) GetCollection(collectionID model.Identifier) *model.Collection
Click to show internal directories.
Click to hide internal directories.