Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter interface { Ids() ([]bson.ObjectId, error) AddQuery(map[string]interface{}) Filter Clone() Filter Reduce(...Filter) (Filter, error) Subject() string AddParents(string, []bson.ObjectId) Modifiers() Modifiers Count() (int, error) Iterate(func(map[string]interface{}, Grabbed) error) error // -- FindOne() (map[string]interface{}, error) Find() ([]interface{}, error) Insert(map[string]interface{}) error // InsertAll([]map[string]interface{}) errors Update(map[string]interface{}) error UpdateAll(map[string]interface{}) (int, error) Remove() error RemoveAll() (int, error) }
type Set ¶
type Set interface { Skip(int) Limit(int) Sort(...string) Count(map[string]interface{}) (int, error) FindOne(map[string]interface{}) (map[string]interface{}, error) Find(map[string]interface{}) ([]interface{}, error) Insert(map[string]interface{}) error // InsertAll([]map[string]interface{}) errors Update(map[string]interface{}, map[string]interface{}) error UpdateAll(map[string]interface{}, map[string]interface{}) (int, error) Remove(map[string]interface{}) error RemoveAll(map[string]interface{}) (int, error) Name() string }
Click to show internal directories.
Click to hide internal directories.