Ignore:
Timestamp:
Jan 6, 2017, 7:25:02 AM (3 years ago)
Author:
cito
Message:

Improve creation of named tuples in Python 2.6 and 3.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/contents/pg/query.rst

    r781 r901  
    6565with each row returned as a named tuple with proper field names.
    6666
     67Column names in the database that are not valid as field names for
     68named tuples (particularly, names starting with an underscore) are
     69automatically renamed to valid positional names.
     70
    6771Note that since PyGreSQL 5.0 this will return the values of array type
    6872columns as Python lists.
Note: See TracChangeset for help on using the changeset viewer.