fieldname

fieldname

Name

fieldname -- get field name by number

Synopsis

fieldname(i)

Parameters

i

field number (integer).

Return Type

string

field name.

Exceptions

TypeError

Bad parameter type, or too many arguments.

ValueError

Invalid field number.

pg.error

Invalid query result, or invalid connection.

Description

fieldname() method allows to find a field name from its rank number. It can be useful for displaying a result. The fields are in the same order than the result values.

Home
Online Resources
General
Beginner Tutorials
MySQL
PostgreSQL
Oracle
mSQL
Microsoft SQL
Contact Us
Random quote of the moment:
Fights between cats and dogs are prohibited by statute in Barber, North Carolina.
 
http://www.sql.org/
 
Proudly designed and hosted by OmegaSphere, providers of all your Web Hosting, SSL Certificate, and Domain Name needs!