Inheritances
Files
Overview
FRAMES
NO FRAMES

Class CI_DB_mysql_result

CI_DB_result
|
CI_DB_mysql_result
<Default>
|- class CI_DB_mysql_result extends CI_DB_result
MySQL Result Class

This class extends the parent result class: CI_DB_result
CategoryDatabase
AuthorExpressionEngine Dev Team
Linkhttp://codeigniter.com/user_guide/database/

Summary

Instance methods
+ _data_seek() Data Seek
+ _fetch_assoc() Result - associative array
+ _fetch_object() Result - object
+ field_data() Field data
+ free_result() Free the result
+ list_fields() Fetch Field Names
+ num_fields() Number of fields in the result set
+ num_rows() Number of rows in the result set

Details

Instance methods

_data_seek()
function _data_seek( $n)
Data Seek

Moves the internal pointer to the desired offset. We call
this internally before fetching results to make sure the
result set starts at zero
Parameters
$n
Returns array
Access private
_fetch_assoc()
function _fetch_assoc( )
Result - associative array

Returns the result set as an array
Returns array
Access private
_fetch_object()
function _fetch_object( )
Result - object

Returns the result set as an object
Returns object
Access private
field_data()
function field_data( )
Field data

Generates an array of objects containing field meta-data
Returns array
Access public
free_result()
function free_result( )
Free the result
Returns null
list_fields()
function list_fields( )
Fetch Field Names

Generates an array of column names
Returns array
Access public
num_fields()
function num_fields( )
Number of fields in the result set
Returns integer
Access public
num_rows()
function num_rows( )
Number of rows in the result set
Returns integer
Access public