[Zope-DB] Accessing ZSQL Method results from Python Script

dman dman@dman.ddts.net
Fri, 26 Apr 2002 09:48:49 -0500

Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Apr 26, 2002 at 10:53:30AM +0000, Juli=E1n Mu=F1oz wrote:
| This is explained in the zope book
| I think it is :
| retvalue=3Dcontainer.call_zsql()
| retvalue[0].colname
| Where 0 is the line number
| colname is the name of the column

Yep.  The SQL Method returns a list of rows, and each row has named
elements corresponding to the columns in the table.



After you install Microsoft Windows XP, you have the option to create
user accounts.  If you create user accounts, by default, they will have
an account type of administrator with no password.
                                                            -- bugtraq
GnuPG key : http://dman.ddts.net/~dman/public_key.gpg

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org