dictresult

dictresult

Name

dictresult -- get the values returned by the query as a list of dictionaries

Synopsis

dictresult()

Parameters

none

Return Type

list

List of dictionaries.

Exceptions

SyntaxError

Too many arguments.

pg.error

Invalid previous result.

Description

dictresult() method returns the list of the values returned by the query with each tuple returned as a dictionary with the field names used as the dictionary index.

Home
Online Resources
General
Beginner Tutorials
MySQL
PostgreSQL
Oracle
mSQL
Microsoft SQL
Contact Us
Random quote of the moment:
I suppose one could claim that an undocumented feature has no semantics. :-( -- Larry Wall in <[email protected]>
 
http://www.sql.org/
 
Proudly designed and hosted by OmegaSphere, providers of all your Web Hosting, SSL Certificate, and Domain Name needs!