Skip to content

Conversation

@techmahedy
Copy link
Member

The method allows developers to apply a series of collection transformations to query results using a clean, composable pipeline pattern.

Example: Processing Completed Orders

$processed = Order::query()
    ->where('status', 'completed')
    ->pipeline([
        fn ($col) => $col->filter(fn ($o) => $o->total > 100),
        fn ($col) => $col->take(10),
    ]);

@techmahedy techmahedy merged commit f0422f7 into doppar:3.x Jan 20, 2026
9 checks passed
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

Successfully merging this pull request may close these issues.

1 participant