This page in other versions: Unsupported versions: 7.1 / 7.2 / 7.3

listfields

Name

listfields -- lists the fields names of the query result

Synopsis

listfields()

Parameters

none

Return Type

list

field names

Exceptions

SyntaxError

Too many arguments.

pg.error

Invalid query result, or invalid connection.

Description

listfields() method returns the list of field names defined for the query result. The fields are in the same order as the result values.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group