Changeset 975


Ignore:
Timestamp:
Apr 20, 2019, 7:49:46 AM (4 months ago)
Author:
cito
Message:

Add a note about dictresult() with duplicate fields

File:
1 edited

Legend:

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

    r967 r975  
    2727and :meth:`Query.fieldnum` methods.
    2828
    29 Note that since PyGreSQL 5.0 this will return the values of array type
    30 columns as Python lists.
     29Note that since PyGreSQL 5.0 this method will return the values of array
     30type columns as Python lists.
    3131
    3232dictresult -- get query values as list of dictionaries
     
    4545the field names as keys.
    4646
    47 Note that since PyGreSQL 5.0 this will return the values of array type
    48 columns as Python lists.
     47If the query has duplicate field names, you will get the value for the
     48field with the highest index in the query.
     49
     50Note that since PyGreSQL 5.0 this method will return the values of array
     51type columns as Python lists.
    4952
    5053namedresult -- get query values as list of named tuples
     
    6871automatically renamed to valid positional names.
    6972
    70 Note that since PyGreSQL 5.0 this will return the values of array type
    71 columns as Python lists.
     73Note that since PyGreSQL 5.0 this method will return the values of array
     74type columns as Python lists.
    7275
    7376.. versionadded:: 4.1
Note: See TracChangeset for help on using the changeset viewer.