Documentation ¶
Index ¶
- func ConvertSort(sortedFieldList ...string) bson.D
- func EmptyOid(oid primitive.ObjectID) bool
- func MakeFindPageOpt(opt *options.FindOptions, pageIndex, pageSize int64) *options.FindOptions
- func MakeQueryByID(oid primitive.ObjectID) bson.D
- func MakeRegexFilter(fieldName, queryStr string) bson.E
- func MakeReturnAfter(opt *options.FindOneAndUpdateOptions) *options.FindOneAndUpdateOptions
- func MakeSortedFieldOpt(opt *options.FindOptions, sortedField string) *options.FindOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertSort ¶
func MakeFindPageOpt ¶
func MakeFindPageOpt(opt *options.FindOptions, pageIndex, pageSize int64) *options.FindOptions
func MakeRegexFilter ¶
func MakeReturnAfter ¶
func MakeReturnAfter(opt *options.FindOneAndUpdateOptions) *options.FindOneAndUpdateOptions
func MakeSortedFieldOpt ¶
func MakeSortedFieldOpt(opt *options.FindOptions, sortedField string) *options.FindOptions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.