mini\Database\PartialQuery::barrier()
Method
protected
Signature
protected function barrier(): self
Returns
self
Documentation
Create a barrier - wrap current query as subquery (internal)
Automatically called by filter methods (where, in, or) when pagination exists, ensuring filters apply to the paginated result set rather than modifying the original query structure.
CTEs are captured inside the barrier (wrapped in the subquery).