Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCreate ¶
func NewCreate(collection *Collection, data interface{}) *create
func NewDatabase ¶
func NewDatabase(name string) *database
func NewQuery ¶
func NewQuery(collection *Collection) *query
func NewUpdate ¶
func NewUpdate(collection *Collection, data interface{}) *update
Types ¶
type Collection ¶
func NewCollection ¶
func NewCollection(database string, name string) *Collection
type Creator ¶
type Creator interface {
Create(collection *Collection, data interface{}) error
}
type Queryer ¶
type Queryer interface {
Query(collection *Collection, filter map[string]interface{}) ([]interface{}, error)
}
Click to show internal directories.
Click to hide internal directories.