A child of PDOStatement with some extra methods
package | salt\sql |
---|
getAllAs(\salt\Base $bindingObject, mixed $indexedBy = NULL
) : array<mixed,\salt\Base>
\salt\Base
The type of object to return
mixed
Column name to use for index array
array<mixed,\salt\Base>
all rows as Base objectsgetAs(\salt\Base $bindingObject) : \salt\Base | FALSE
\salt\Base
The type of object to return
\salt\Base
FALSE
the next row as Base object or FALSE if there is no more rowsgetColumns(array<mixed,string> $excepts = array()
) : array<mixed,string>
array<mixed,string>
do not return theses columns
array<mixed,string>
Column names__construct()