Versions in this module Expand all Collapse all v0 v0.2.0 Feb 28, 2022 Changes in this version + func NewCreate(collection *Collection, data interface{}) *create + func NewDatabase(name string) *database + func NewQuery(collection *Collection) *query + func NewUpdate(collection *Collection, data interface{}) *update + type Collection struct + Database string + Name string + func NewCollection(database string, name string) *Collection + type Creator interface + Create func(collection *Collection, data interface{}) error + type Queryer interface + Query func(collection *Collection, filter map[string]interface{}) ([]interface{}, error) + type Updater interface + Update func(collection *Collection, filter map[string]interface{}, data interface{}, ...) error