Documentation ¶
Index ¶
- func Contains[E comparable](s []E, v E) bool
- func CreateAggregationPipeline(filter *apicontracts.Filter, baseSort apicontracts.SortMetadata, ...) []bson.M
- func CreateClusterACLFilter(acl aclmodels.AclV2ListItems) bson.M
- func CreateFilterPipeline(filter *apicontracts.Filter, unwindFields []string) []bson.M
- func CreatePaginationPipeline(filter *apicontracts.Filter) []bson.M
- func CreateSort(filter *apicontracts.Filter, baseSort apicontracts.SortMetadata) []bson.M
- func Index[E comparable](s []E, v E) int
- func PrettyprintBSON(pipeline []primitive.M)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶
func Contains[E comparable](s []E, v E) bool
func CreateAggregationPipeline ¶
func CreateAggregationPipeline(filter *apicontracts.Filter, baseSort apicontracts.SortMetadata, unwindFields []string) []bson.M
func CreateClusterACLFilter ¶
func CreateClusterACLFilter(acl aclmodels.AclV2ListItems) bson.M
func CreateFilterPipeline ¶
func CreateFilterPipeline(filter *apicontracts.Filter, unwindFields []string) []bson.M
func CreatePaginationPipeline ¶
func CreatePaginationPipeline(filter *apicontracts.Filter) []bson.M
func CreateSort ¶
func CreateSort(filter *apicontracts.Filter, baseSort apicontracts.SortMetadata) []bson.M
func Index ¶
func Index[E comparable](s []E, v E) int
func PrettyprintBSON ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.