\Hazaar\DBI
Result
Relational Database Interface - Result Class
Summary
Methods Properties Constants
all
fix
key
row
No constants
Properties
$json_columns
$json_columns
$record
$record
$records
$records
$reset
$reset
Flag to remember if we need to reset the statement when using array access methods.

A reset is required once an ‘execute’ is made and then rows are accessed. If no rows are accessed then a reset is not required. This prevents a query from being executed multiple times when it’s not necessary.

$statement
$statement
The PDO statement object.
$wakeup
$wakeup
Methods
__construct()
__construct($statement)

Parameters

$statement\PDOStatement

No description

__get()
__get($key)

Parameters

$key

No description

__sleep()
__sleep()
__toString()
__toString()
__wakeup()
__wakeup()
all()
all()
bindColumn()
bindColumn($column, $param, $type, $maxlen, $driverdata)

Parameters

$column

No description

$param

No description

$type

No description

$maxlen

No description

$driverdata

No description

bindParam()
bindParam($parameter, $variable, $data_type = null, $length, $driver_options)

Parameters

$parameter

No description

$variable

No description

$data_type

No description

$length\PDO

No description

$driver_options

No description

bindValue()
bindValue($parameter, $value, $data_type = null)

Parameters

$parameter

No description

$value

No description

$data_type

No description

closeCursor()
closeCursor()
columnCount()
columnCount()
count()
count()
current()
current()
debugDumpParams()
debugDumpParams()
errorCode()
errorCode()
errorInfo()
errorInfo()
execute()
execute($input_parameters)

Parameters

$input_parameters

No description

fetch()
fetch($fetch_style = null, $cursor_orientation = null, $cursor_offset = 0)

Parameters

$fetch_style

No description

$cursor_orientation\PDO

No description

$cursor_offset\PDO

No description

fetchAll()
fetchAll($fetch_style = null, $fetch_argument = null, $ctor_args = Array ( ) )

Parameters

$fetch_style

No description

$fetch_argument\PDO

No description

$ctor_args

No description

fetchColumn()
fetchColumn($column_number = 0)

Parameters

$column_number

No description

fetchObject()
fetchObject($class_name = '"stdClass"', $ctor_args)

Parameters

$class_name

No description

$ctor_args

No description

fix()
fix($record)

Parameters

$record

No description

getAttribute()
getAttribute($attribute)

Parameters

$attribute

No description

getColumnMeta()
getColumnMeta($column)

Parameters

$column

No description

key()
key()
next()
next()
nextRowset()
nextRowset()
offsetExists()
offsetExists($offset)

Parameters

$offset

No description

offsetGet()
offsetGet($offset)

Parameters

$offset

No description

offsetSet()
offsetSet($offset, $value)

Parameters

$offset

No description

$value

No description

offsetUnset()
offsetUnset($offset)

Parameters

$offset

No description

rewind()
rewind()
row()
row()
rowCount()
rowCount()
setAttribute()
setAttribute($attribute, $value)

Parameters

$attribute

No description

$value

No description

setFetchMode()
setFetchMode($mode)

Parameters

$mode

No description

store()
store()
toString()
toString()
valid()
valid()