Identify a field in a cursor by name.
- Parameters:
-
| hcursor | Cursor handle. |
| field_name | Field name. |
- Returns:
- Field number or DB_NOTFOUND if field was not found.
On failure, one of the following error codes is set:
- See also:
- get_db_error, clear_db_error, Error Handling