Methods summary
public
|
|
public
|
|
public
|
#
free( )
Frees the local mysqli_result object, and unsetting it.
Frees the local mysqli_result object, and unsetting it.
|
public
mysqli_result
|
#
getResult( )
Getter function for the local mysqli_result object.
Getter function for the local mysqli_result object.
Returns
|
protected
zsql\Result
|
#
setResult( mysqli_result $object )
Setter function for the local mysqli_result object.
Setter function for the local mysqli_result object.
Parameters
Returns
|
public
string
|
|
public
zsql\Result
|
#
setResultClass( string $class )
Set result class
Parameters
Returns
Throws
|
public
integer
|
|
public
zsql\Result
|
#
setResultMode( integer $mode )
Set result mode
Parameters
Returns
Throws
|
public
mixed
|
#
fetchRow( integer $mode = null )
Fetches a single result row
Fetches a single result row
Parameters
- $mode
integer $mode This optional parameter is a constant indicating what type of result
should be produced from the current row data. The possible values for this
parameter are the constants FETCH_ASSOC, FETCH_OBJECT, FETCH_COLUMN, or
FETCH_NUM.
Returns
mixed
|
public
mixed
|
#
fetchAll( integer $mode = null )
Fetches all result rows
Parameters
- $mode
integer $mode This optional parameter is a constant indicating what type of result
should be produced from the current row data. The possible values for this
parameter are the constants FETCH_ASSOC, FETCH_OBJECT, FETCH_COLUMN, or
FETCH_NUM.
Returns
mixed
|
public
mixed
|
#
fetchColumn( )
Returns a single value from the first result row.
Returns a single value from the first result row.
Returns
mixed
|