Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to pass options when using aggregation framework? #2241

Unanswered
realtebo asked this question in Q&A
Discussion options

In a class i am using aggregation framework with a very complex pipeline

$results = $this->model_name::raw(function ($collection) use ($query) {
return $collection->aggregate($query)
});

i need to pass option to allow disk cache

How can I do this?

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #2237 on April 30, 2021 09:57.

AltStyle によって変換されたページ (->オリジナル) /