Documentation ¶
Index ¶
- func IsId(encodedForm string) bool
- func New(db *mgo.Database, coll string) iface.Set
- func NewId() iface.Id
- func ToId(encodedForm string) iface.Id
- type Id
- type Set
- func (s *Set) Count(q map[string]interface{}) (int, error)
- func (s *Set) Find(q map[string]interface{}) ([]map[string]interface{}, error)
- func (s *Set) FindOne(q map[string]interface{}) (map[string]interface{}, error)
- func (s *Set) Insert(d map[string]interface{}) error
- func (s *Set) Limit(i int)
- func (s *Set) Name() string
- func (s *Set) Remove(q map[string]interface{}) error
- func (s *Set) RemoveAll(q map[string]interface{}) (int, error)
- func (s *Set) Skip(i int)
- func (s *Set) Sort(str ...string)
- func (s *Set) Update(q map[string]interface{}, updQuery map[string]interface{}) error
- func (s *Set) UpdateAll(q map[string]interface{}, updQuery map[string]interface{}) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.