/// <summary> /// Frees the memory associated with a result. /// Alias to <see cref="mysqli_result.close"/> /// </summary> public static void mysqli_free_result(mysqli_result result) => result.close();
/// <summary> /// Adjusts the result pointer to an arbitrary row in the result. /// </summary> public static bool mysqli_data_seek(mysqli_result result, int offset) => result.data_seek(offset);
/// <summary> /// Returns the current row of a result set as an object. /// </summary> public static bool mysqli_field_seek(mysqli_result result, int fieldnr) => result.field_seek(fieldnr);
/// <summary> /// Get current field offset of a result pointer.. /// </summary> public static int mysqli_field_tell(mysqli_result result) => result.current_field;
/// <summary> /// Gets the number of rows in a result. /// </summary> public static int mysqli_num_rows(mysqli_result result) => result.num_rows;
public static stdClass mysqli_fetch_field_direct(mysqli_result result, int fieldnr) => result.fetch_field_direct(fieldnr);
/// <summary> /// Get the number of fields in a result. /// </summary> public static int mysqli_num_fields(mysqli_result result) => result.field_count;
/// <summary> /// Returns an array of objects representing the fields in a result set. /// </summary> public static PhpArray mysqli_fetch_fields(mysqli_result result) => result.fetch_fields();
public static stdClass mysqli_fetch_field(mysqli_result result) => result.fetch_field();
/// <summary> /// Returns the current row of a result set as an object. /// </summary> public static object mysqli_fetch_object(mysqli_result result, string class_name = null, PhpArray class_params = null) => result.fetch_object(class_name, class_params);
/// <summary> /// Get a result row as an enumerated array. /// </summary> public static PhpArray mysqli_fetch_row(mysqli_result result) => result.fetch_row();
/// <summary> /// Fetch a result row as an associative, a numeric array, or both. /// </summary> public static PhpArray mysqli_fetch_array(mysqli_result result, int resulttype = Constants.MYSQLI_BOTH) => result.fetch_array(resulttype);
/// <summary> /// Fetch a result row as an associative array. /// </summary> /// <param name="result">A result set identifier.</param> /// <returns> /// Returns an associative array of strings representing the fetched row in the result set, /// where each key in the array represents the name of one of the result set's columns /// or <c>NULL</c> if there are no more rows in resultset. /// /// If two or more columns of the result have the same field names, the last column will take precedence. /// To access the other column(s) of the same name, you either need to access the result with /// numeric indices by using mysqli_fetch_row() or add alias names. /// </returns> public static PhpArray mysqli_fetch_assoc(mysqli_result result) => result.fetch_assoc();
/// <summary> /// Fetches single scalar value from the result set. /// </summary> public static PhpValue mysqli_fetch_column(mysqli_result result, int column = 0) => result.fetch_column(column);