Fetches a string from a field in the current row of a result set. If the result is NULL, an empty string will be returned. A NULL check can be done with the result parameter, or SQL_IsFieldNull().
int FetchString(int field, char[] buffer, int maxlength, DBResult& result)
The field index (starting from 0).
String buffer.
Maximum size of the string buffer.
Optional variable to store the status of the return value.
Number of bytes written.
Invalid field index, invalid type conversion requested from the database, or no current result set.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.