$statement
$statement : resource
Reference to fbird resource
Firebird result class to emulate PDOStatement Class - only implements data-fetching methods
$db : \Query\Drivers\Firebird\Driver
Reference to the db drive to de-duplicate error functions
__construct(resource $link, \Query\Drivers\Firebird\Driver|null $db = NULL)
Create the object by passing the resource for the query
resource | $link | |
\Query\Drivers\Firebird\Driver|null | $db |
bindColumn(mixed $column, mixed $param, integer $type = NULL, mixed $maxlen = NULL, array $driverdata = NULL) : NULL
Invalidate method for data consistency
mixed | $column | Number or name of the column in the result set |
mixed | $param | Name of the PHP variable to which the column will be bound |
integer | $type | Data type of the parameter, specified by the PDO::PARAM_* constants |
mixed | $maxlen | A hint for pre-allocation |
array | $driverdata | Optional parameter(s) for the driver |
bindParam(mixed $parameter, mixed $variable, integer $dataType = NULL, mixed $maxlen = NULL, array $driverdata = NULL) : NULL
Invalidate method for data consistency
mixed | $parameter | Parameter identifier. For a prepared statement using named placeholders, this will be a parameter name of the form :name. For a prepared statement using question mark placeholders, this will be the 1-indexed position of the parameter. |
mixed | $variable | Name of the PHP variable to bind to the SQL statement parameter. |
integer | $dataType | Explicit data type for the parameter using the PDO::PARAM_* constants. To return an INOUT parameter from a stored procedure, use the bitwise OR operator to set the PDO::PARAM_INPUT_OUTPUT bits for the data_type parameter. |
mixed | $maxlen | |
array | $driverdata |
bindValue(mixed $parameter, mixed $variable, integer $dataType = NULL) : NULL
Invalidate method for data consistency
mixed | $parameter | Parameter identifier. For a prepared statement using named placeholders, this will be a parameter name of the form :name. For a prepared statement using question mark placeholders, this will be the 1-indexed position of the parameter. |
mixed | $variable | |
integer | $dataType | Explicit data type for the parameter using the PDO::PARAM_* constants. |
execute(array $boundInputParams = NULL) : \Query\Drivers\Firebird\Result
Run a prepared statement query
array | $boundInputParams |