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

Julián Muñoz jmunoz@telefonica.net
Fri, 26 Apr 2002 10:53:30 +0000 (GMT)


This is explained in the zope book

I think it is :

retvalue=container.call_zsql()

retvalue[0].colname

Where 0 is the line number
colname is the name of the column



On Fri, 26 Apr 2002, Paul Browning wrote:

>
> Can someone point me to a HowTo or other documentation
> or provide a code snippet that shows me how to
> access the results returned by a ZSQL Method from Python Script?
>
> TIA
>
> Paul
>
> --
>  The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK
>      E-mail: paul.browning@bristol.ac.uk  URL: http://www.bris.ac.uk/
>
>
>
>
> _______________________________________________
> Zope-DB mailing list
> Zope-DB@zope.org
> http://lists.zope.org/mailman/listinfo/zope-db
>

-- 

      __o
    _ \<_
   (_)/(_)

Saludos de Julián
EA4ACL
-.-

Foro Wireless Madrid
http://opennetworks.rg3.net