modulepackage
0.0.0-20241029022631-8182269c6e0b
Repository: https://github.com/abmpio/mongodbr.git
Documentation: pkg.go.dev
# README
mongodbr
mongodb repository
repository for mongodb
# Functions
build mongo.WriteModel list with ObjectId list.
build mongo.WriteModel list with ObjectId list.
No description provided by the author
No description provided by the author
enable mongodb monitor.
find all t.
find one by _id.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
result with specified fields.
find t by filter.
find t by _id.
find t by _id.
get client by key.
get mongo.Collection instanc.
No description provided by the author
get mongo.Database instance.
get mongo.Database instance.
在创建Client时是否忽略time.Time的自定义解码器,(primitive.DateTime -> time.Time).
在创建Client时是否忽略uuid的自定义解码器.
No description provided by the author
No description provided by the author
new MongoCol instance, panic if col is nil.
No description provided by the author
new一个新的实例.
No description provided by the author
No description provided by the author
specifiy repository with client key.
构建默认的client.
validate object if object implement IValidation interface.
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
auditable entity.
No description provided by the author
can audit creation entity.
No description provided by the author
index model.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RepositoryBase represents a mongodb repository.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
update.
No description provided by the author
No description provided by the author
一个抽象的用来处理任意类型的mongodb的仓储基类.
No description provided by the author
# Type aliases
AggregateOptions handler pipeline.
modify IEntity object.
No description provided by the author
No description provided by the author
No description provided by the author