LSModule:MySQL:mysqlresult (Object Type)
Jump to navigation
Jump to search
Contents
Description
mysqlresult | |
Defined By | MySQL Module |
Inherits | none |
Reduces To | NULL |
Variable Object Type | mysqlresult |
Uses Sub-Types | no |
C/C++ Type | CMySQLResult * |
A MySQL query result set
Members
- bool Valid: TRUE if the result set is populated
- bool ValidRow: TRUE if a row is fetched
- uint Fields: Number of fields in the current result set
- uint Rows: Number of rows in the current result set
- string GetString[field]: Retrieves a field by ID (1-based) or field name, as a string
- int GetInt[field]: Retrieves a field by ID (1-based) or field name, as an int
- float GetFloat[field]: Retrieves a field by ID (1-based) or field name, as a float
Methods
- FetchRow: Fetches the next row (as in mysql_fetch_row())
- Clear: Clears the result set