Method __builtin.Sql.Result()->increment_index()


Method increment_index

protected int increment_index(int|void val)

Description

Increment the index.

Parameter val

Value to increment the index with. Defaults to 1.

Returns

Returns the new value of the index.

This is a helper function for implementations to update the index.

It is typically called from fetch_row().