final class Limit extends SerializableComponent (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

string
__toString()

No description

array
jsonSerialize()

No description

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

No description

string
build()

Builds the string representation of a component of this type.

Details

string __toString()

No description

Return Value

string

array jsonSerialize()

No description

Return Value

array

__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