\Query\Drivers\FirebirdResult

Firebird result class to emulate PDOStatement Class - only implements data-fetching methods

Summary

Methods
Properties
Constants
__construct()
bindColumn()
bindParam()
bindValue()
execute()
fetch()
fetchAll()
fetchColumn()
fetchObject()
rowCount()
errorCode()
errorInfo()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$statement
$row
$result
$db
N/A

Properties

$statement

$statement : resource

Reference to fbird resource

Type

resource

$row

$row : int

Current row in result array

Type

int

$result

$result

Data pulled from query

Methods

__construct()

__construct(resource $link, \Query\Drivers\Firebird\Driver|null $db)

Create the object by passing the resource for the query

Parameters

resource $link
\Query\Drivers\Firebird\Driver|null $db

bindColumn()

bindColumn(mixed $column, mixed $param, int $type, mixed $maxlen, array $driverdata) : NULL

Invalidate method for data consistency

Parameters

mixed $column
mixed $param
int $type
mixed $maxlen
array $driverdata

Returns

NULL

bindParam()

bindParam(mixed $parameter, mixed $variable, int $data_type, mixed $maxlen, array $driverdata) : NULL

Invalidate method for data consistency

Parameters

mixed $parameter
mixed $variable
int $data_type
mixed $maxlen
array $driverdata

Returns

NULL

bindValue()

bindValue(mixed $parameter, mixed $variable, int $data_type) : NULL

Invalidate method for data consistency

Parameters

mixed $parameter
mixed $variable
int $data_type

Returns

NULL

execute()

execute(array $args) : \Query\Drivers\Firebird\Result

Run a prepared statement query

Parameters

array $args

Returns

\Query\Drivers\Firebird\Result

fetch()

fetch(int $fetch_style, mixed $cursor_orientation, mixed $cursor_offset) : mixed

Emulate PDO fetch public function

Parameters

int $fetch_style
mixed $cursor_orientation
mixed $cursor_offset

Returns

mixed

fetchAll()

fetchAll(int $fetch_style, mixed $statement, mixed $ctor_args) : mixed

Emulate PDO fetchAll public function

Parameters

int $fetch_style
mixed $statement
mixed $ctor_args

Returns

mixed

fetchColumn()

fetchColumn(int $column_num) : mixed

Emulate PDOStatement::fetchColumn

Parameters

int $column_num

Returns

mixed

fetchObject()

fetchObject(string $class_name, array $ctor_args) : \Query\Drivers\Firebird\stdClass

Emulate PDOStatement::fetchObject, but only for the default use

Parameters

string $class_name
array $ctor_args

Returns

\Query\Drivers\Firebird\stdClass

rowCount()

rowCount() : int

Return the number of rows affected by the previous query

Returns

int

errorCode()

errorCode() : string

Method to emulate PDOStatement->errorCode

Returns

string

errorInfo()

errorInfo() : array

Method to emulate PDO->errorInfo / PDOStatement->errorInfo

Returns

array