class NoDataResult implements ResultDriver

The driver for no result set.

Methods

__construct(int $rows)

No description

int
getRowCount()

Returns the number of affected rows.

array|null
fetch(bool $assoc)

Fetches the row at current position and moves the internal cursor to the next position.

bool
seek(int $row)

Moves cursor position without fetching row.

void
free()

Frees the resources allocated for this result set.

array
getResultColumns()

Returns metadata for all columns in a result set.

mixed
getResultResource()

Returns the result set resource.

string
unescapeBinary(string $value)

Decodes data from result set.

Details

at line 23
__construct(int $rows)

No description

Parameters

int $rows

at line 32
int getRowCount()

Returns the number of affected rows.

Return Value

int

at line 38
array|null fetch(bool $assoc)

Fetches the row at current position and moves the internal cursor to the next position.

Parameters

bool $assoc

Return Value

array|null

at line 44
bool seek(int $row)

Moves cursor position without fetching row.

Parameters

int $row

Return Value

bool

Exceptions

Exception

at line 50
void free()

Frees the resources allocated for this result set.

Return Value

void

at line 55
array getResultColumns()

Returns metadata for all columns in a result set.

Return Value

array

of {name, nativetype [, table, fullname, (int) size, (bool) nullable, (mixed) default, (bool) autoincrement, (array) vendor ]}

at line 61
mixed getResultResource()

Returns the result set resource.

Return Value

mixed

at line 67
string unescapeBinary(string $value)

Decodes data from result set.

Parameters

string $value

Return Value

string