final class Limit implements Component (View source)

LIMIT keyword parser.

Properties

int|string $offset

The number of rows skipped.

int|string $rowCount

The number of rows to be returned.

Methods

__construct(int|string $rowCount = 0, int|string $offset = 0)

No description

string
build()

Builds the string representation of a component of this type.

string
__toString()

No description

Details

__construct(int|string $rowCount = 0, int|string $offset = 0)

No description

Parameters

int|string $rowCount

the row count

int|string $offset

the offset

string build()

Builds the string representation of a component of this type.

In other words, this function represents the inverse function of {\PhpMyAdmin\SqlParser\Component::parse()}.

Return Value

string

string __toString()

No description

Return Value

string