From: | bderstin(at)med(dot)umich(dot)edu |
---|---|
To: | pgsql-docs(at)postgresql(dot)org |
Subject: | clarify 43.7 |
Date: | 2017-10-13 18:34:15 |
Message-ID: | 20171013183415.8204.48716@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/9.0/static/plpython-database.html
Description:
https://www.postgresql.org/docs/9.4/static/plpython-database.html
"If my_table has a column my_column, it would be accessed as:
foo = rv[i]["my_column"]
The number of rows returned can be obtained using the built-in len
function."
It it unclear where 'i' comes from or how it would be used in context.
Also, the 'len' function is mentioned but no example is shown regarding how
to use it. Is there a generic way to access the entire column "my_column" in
foo without using 'i'?
Is the resulting variable 'foo' a list or dictionary?
thanks!
From | Date | Subject | |
---|---|---|---|
Next Message | 2017-10-15 18:21:06 | Typo in word "password" | |
Previous Message | Magnus Hagander | 2017-10-13 13:21:35 | Re: Error in download page for pg10 - redhat |