# The mysqli_result class

&reftitle.intro;

Represents the result set obtained from a query against the database.

&reftitle.classsynopsis;

         mysqli_result

         implements
         IteratorAggregate

        &Properties;

         public
         readonly
         int
         current_field

         public
         readonly
         int
         field_count

         public
         readonly
         arraynull
         lengths

         public
         readonly
         intstring
         num_rows

         public
         int
         type

        &Methods;

&reftitle.properties;

`type`

- Stores whether the result is buffered or unbuffered as an &integer; (`MYSQLI_STORE_RESULT` or `MYSQLI_USE_RESULT`, respectively).

&reftitle.changelog;

&Version; | &Description;
8.0.0 | `mysqli_result` implements IteratorAggregate now. Previously, Traversable was implemented instead.

&reference.mysqli.entities.mysqli-result;