Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultOpts = Opts{Limit: common.BKNoLimit}
DefaultOpts default opts
Functions ¶
This section is empty.
Types ¶
type FindAndModify ¶
FindAndModify find and modify options
func (*FindAndModify) ConvertToMongoOptions ¶
func (m *FindAndModify) ConvertToMongoOptions() *options.FindOneAndUpdateOptions
ConvertToMongoOptions convert to mongodb option
type Many ¶
type Many struct {
Opts
}
Many find many options
func (*Many) ConvertToMongoOptions ¶
func (m *Many) ConvertToMongoOptions() *options.FindOptions
ConvertToMongoOptions convert find many opt into mongo options array
type One ¶
type One struct {
Opts
}
One find one options
func (*One) ConvertToMongoOptions ¶
func (m *One) ConvertToMongoOptions() *options.FindOneOptions
ConvertToMongoOptions convert find many opt into mongo options array
Click to show internal directories.
Click to hide internal directories.