MysqlResult
final class MysqlResult extends DatabaseResult (View source)
Methods
result(string $type = 'object')
array
array
array
custom_result_object(string $className)
array
row(int|string $n = 0, string $type = 'object')
mixed
row_array(int $n = 0)
array|null
row_object(int $n = 0)
object|null
first_row(string $type = 'object')
mixed
last_row(string $type = 'object')
mixed
next_row(string $type = 'object')
mixed
previous_row(string $type = 'object')
mixed
array|null
fromMysqliResult(mysqli_result $result)
num_rows()
int
int
array
array
CI-compatible field metadata.
array
data_seek(int $n = 0)
bool
void
Details
result
array
result(string $type = 'object')
No description
result_object
array
result_object()
No description
result_array
array
result_array()
No description
custom_result_object
array
custom_result_object(string $className)
No description
row
mixed
row(int|string $n = 0, string $type = 'object')
No description
row_array
array|null
row_array(int $n = 0)
No description
row_object
object|null
row_object(int $n = 0)
No description
first_row
mixed
first_row(string $type = 'object')
No description
last_row
mixed
last_row(string $type = 'object')
No description
next_row
mixed
next_row(string $type = 'object')
No description
previous_row
mixed
previous_row(string $type = 'object')
No description
fetchAssoc
protected array|null
fetchAssoc()
No description
num_rows
int
num_rows()
No description
num_fields
int
num_fields()
No description
list_fields
array
list_fields()
No description
field_data
array
field_data()
No description
field_data_object
array
field_data_object()
CI-compatible field metadata.
data_seek
bool
data_seek(int $n = 0)
No description
free_result
void
free_result()
No description