You are here : cpp0mysql_field_seek

mysql_field_seek() - 0

 Sets the field cursor to the given offset. The next call to
        mysql_fetch_field() retrieves
        the field definition of the column associated with that offset.mysql_fetch_field()mysql_fetch_field()To seek to the beginning of a row, pass an
        offset value of zero.offset


Syntax

MYSQL_FIELD_OFFSET mysql_field_seek(MYSQL_RES *result,
        MYSQL_FIELD_OFFSET offset)


Example

 


Output / Return Value

 The previous value of the field cursor.


Limitations


Alternatives / See Also


Reference