Flow PHP

LimitPushDown

A source that can read fewer rows when the plan has a LIMIT above it. This is an optimization hint, never a guarantee: the limit operator stays in the plan and enforces the exact count, so an implementation that yields more rows than asked - or ignores the hint - is still correct.

Methods

pushedLimit()  : int|null
pushLimit()  : void
Narrowing only. A second push may lower the cap, never raise it.

Methods

pushedLimit()

public pushedLimit() : int|null
Return values
int|null

pushLimit()

Narrowing only. A second push may lower the cap, never raise it.

public pushLimit(int $limit) : void
Parameters
$limit : int
Tags
throws
InvalidArgumentException

when $limit is not greater than 0

On this page

Search results