a resultset based on PDOStatement
| package |
jelix |
|---|---|
| subpackage |
db |
addModifier(callback $function)
| since | 1.1.6 |
|---|---|
callbacka callback function the function should accept in parameter the record, and the resulset object
applyModifiers( $result)
fetch( $fetch_style = null, $cursor_orientation = \PDO::FETCH_ORI_NEXT, $cursor_offset)
fetchAll(integer $fetch_style = null, integer $fetch_argument = null, array $ctor_arg = null) : array
integer
integer
array
arraylist of object which contain all rows
setFetchMode(integer $mode, mixed $arg1 = null, mixed $arg2 = null) : boolean
integerthe mode, a PDO::FETCH_* constant
mixeda parameter for the given mode
mixeda parameter for the given mode
booleantrue if the fetch mode is ok
unescapeBin(string $text) : string
| since | 1.1.6 |
|---|
stringa binary string to unescape
stringthe unescaped string
_fetchMode :
modifier : array
| var |
of callback |
|---|---|
| since |
array