Class CI_DB_mysqli_result - echiong/testRepo GitHub Wiki

##Class CI_DB_mysqli_result

MySQLi Result Class

This class extends the parent result class: CI_DB_result

Category: Database
Author: ExpressionEngine Dev Team
Link: http://codeigniter.com/user_guide/database/
Located at system/database/drivers/mysqli/mysqli_result.php

##Methods summary


public integer num_rows ( )

Number of rows in the result set

Returns integer

###Overrides CI_DB_result::num_rows()


public integer num_fields ( )

Number of fields in the result set

Returns integer

###Overrides CI_DB_result::num_fields()


public array list_fields ( )

Fetch Field Names

Generates an array of column names

Returns array

###Overrides CI_DB_result::list_fields()


public array field_data ( )

Field data

Generates an array of objects containing field meta-data

Returns array

###Overrides CI_DB_result::field_data()


public null free_result ( )

Free the result

Returns null

###Overrides CI_DB_result::free_result()


public array _data_seek ( mixed $n = 0 )

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

Returns array

###Overrides CI_DB_result::_data_seek()


public array _fetch_assoc ( )

Result - associative array

Returns the result set as an array

Returns array

###Overrides CI_DB_result::_fetch_assoc()


public object _fetch_object ( )

Result - object

Returns the result set as an object

Returns object

###Overrides CI_DB_result::_fetch_object()

Methods inherited from CI_DB_result

custom_result_object()

custom_row_object()

first_row()

last_row()

next_row()

previous_row()

result()

result_array()

result_object()

row()

row_array()

row_object()

set_row()

<table class="summary inherited">
<caption>Properties inherited from <a href="Class CI_DB_result.md#properties">CI_DB_result</a></caption>
<tr>
	<td><code>
		<a href="Class CI_DB_result.md#$conn_id"><var>$conn_id</var></a>, 
		<a href="Class CI_DB_result.md#$current_row"><var>$current_row</var></a>, 
		<a href="Class CI_DB_result.md#$custom_result_object"><var>$custom_result_object</var></a>, 
		<a href="Class CI_DB_result.md#$num_rows"><var>$num_rows</var></a>, 
		<a href="Class CI_DB_result.md#$result_array"><var>$result_array</var></a>, 
		<a href="Class CI_DB_result.md#$result_id"><var>$result_id</var></a>, 
		<a href="Class CI_DB_result.md#$result_object"><var>$result_object</var></a>, 
		<a href="Class CI_DB_result.md#$row_data"><var>$row_data</var></a>
	</code></td>
</tr>
</table>
⚠️ **GitHub.com Fallback** ⚠️