FetchOrientation

Class defining the fetch orientation for prepared statements

final

The values of the constants in this class match the PDO::FETCH_ORI_* constants.

since

2.0.0

package

Joomla Framework

Methods

__construct

Private constructor to prevent instantiation of this class

__construct() : mixed
since

2.0.0

Response

mixed

Constants

NEXT

Fetch the next row in the result set. Valid only for scrollable cursors.

Value 0
since

2.0.0

Type(s)

int

PRIOR

Fetch the previous row in the result set. Valid only for scrollable cursors.

Value 1
since

2.0.0

Type(s)

int

FIRST

Fetch the first row in the result set. Valid only for scrollable cursors.

Value 2
since

2.0.0

Type(s)

int

LAST

Fetch the last row in the result set. Valid only for scrollable cursors.

Value 3
since

2.0.0

Type(s)

int

ABS

Fetch the requested row by row number from the result set. Valid only for scrollable cursors.

Value 4
since

2.0.0

Type(s)

int

REL

Fetch the requested row by relative position from the current position of the cursor in the result set. Valid only for scrollable cursors.

Value 5
since

2.0.0

Type(s)

int