Re: [Zope-DB] Question Concerning Z SQL Method and Class Bindings

2010-05-25 Thread Peter Sabaini
On Mon, 2010-05-24 at 21:33 -0700, Mark Phillips wrote: I am reading the zope 2 book (relational database section) and it talks about binding classes by putting them in the Extensions directory and then associating them with a Z SQL Method. That seems to be rather straight forward, but where

Re: [Zope-DB] Question Concerning Z SQL Method and Class Bindings

2010-05-25 Thread Mark Phillips
Peter, I don't think I phrased my question very well. Also, I am coming from a Java background, so I am thinking about result sets, which may not be applicable to Python. If I have a Z SQL Method query that returns multiple rows to a brains class, how do I (1) reference the returned object that

Re: [Zope-DB] Question Concerning Z SQL Method and Class Bindings

2010-05-25 Thread Peter Sabaini
On Tue, 2010-05-25 at 12:21 -0700, Mark Phillips wrote: Peter, I don't think I phrased my question very well. Also, I am coming from a Java background, so I am thinking about result sets, which may not be applicable to Python. If I have a Z SQL Method query that returns multiple rows to a

Re: [Zope-DB] Question Concerning Z SQL Method and Class Bindings

2010-05-25 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Phillips wrote: Peter, I don't think I phrased my question very well. Also, I am coming from a Java background, so I am thinking about result sets, which may not be applicable to Python. If I have a Z SQL Method query that returns