Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opts agregation #41

Open
fagneracr opened this issue Apr 6, 2023 · 0 comments
Open

opts agregation #41

fagneracr opened this issue Apr 6, 2023 · 0 comments

Comments

@fagneracr
Copy link

you can make the *opt.AgregateOptions vailable, in the aggregation func

sample:

opts := &options.AggregateOptions{
AllowDiskUse: &diskUse,
Collation: &options.Collation{
Locale: "en",
NumericOrdering: true,
Strength: 2,
},
}

paginate.New(coll).Context(ctx).Limit(filtros.FindSet.Pagesize).Page(filtros.FindSet.Page).Aggregate(&opts, pipeline...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant