Name
fieldnum -- field name-number conversion
Description
fieldnum() method returns a field number from its name.
It can be used to build a function that converts result list strings to their correct
type, using a hardcoded table definition. The number returned is the
field rank in the result values list.