Documentation ¶
Index ¶
- type Config
- type Mdb
- func (self *Mdb) FindId(collection string, id interface{}, result interface{}) error
- func (self *Mdb) FindOne(collection string, query interface{}, result interface{}) error
- func (self *Mdb) Insert(collection string, data ...interface{}) error
- func (self *Mdb) Upsert(collection string, selector interface{}, change interface{}) error
- func (m *Mdb) WithC(collection string, job func(*mgo.Collection) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.