Documentation ¶
Index ¶
- func Strval(value interface{}) string
- type FO
- type FU
- type Filter
- type GoMongo
- func (goMongo *GoMongo) AddMany(data []interface{}) *goCommon.Resp
- func (goMongo *GoMongo) AddOne(data interface{}) *goCommon.Resp
- func (goMongo *GoMongo) CloseConn() *goCommon.Resp
- func (goMongo *GoMongo) Connect() *goCommon.Resp
- func (goMongo *GoMongo) Count(data *Filter) *goCommon.Resp
- func (goMongo *GoMongo) DeleteMany(data *Filter) *goCommon.Resp
- func (goMongo *GoMongo) DeleteOne(data *Filter) *goCommon.Resp
- func (goMongo *GoMongo) Distinct(data *Filter, field string) *goCommon.Resp
- func (goMongo *GoMongo) GetMany(data *Filter, option *Option) *goCommon.Resp
- func (goMongo *GoMongo) GetOne(data *Filter) *goCommon.Resp
- func (goMongo *GoMongo) Ping() *goCommon.Resp
- func (goMongo *GoMongo) SetCollection(coll string) *goCommon.Resp
- func (goMongo *GoMongo) UpdateMany(data *Filter, uData *UData) *goCommon.Resp
- func (goMongo *GoMongo) UpdateOne(data *Filter, uData *UData) *goCommon.Resp
- type Option
- type UData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GoMongo ¶ added in v1.0.4
type GoMongo struct { Addr string Port string Password string User string Pass string Db string Client *mongo.Client Collect *mongo.Collection }
func (*GoMongo) DeleteMany ¶ added in v1.0.4
func (*GoMongo) SetCollection ¶ added in v1.0.4
func (*GoMongo) UpdateMany ¶ added in v1.0.4
Click to show internal directories.
Click to hide internal directories.