PyDO1 vs PyDO2 Question:
Juan Carlos Leon <[email protected]> Wed, 1 Jun 2005 04:13:22 -0700 (PDT)
| Newsgroups | gmane.comp.web.skunkweb |
|---|---|
| Message-ID | <[email protected]> |
One of the limitations that I have right now is to write my own raw SQL queries and let PyDO return the objects back to me. I use most of the common PyDO1 functions .getUnique, .getSome(), getSomeWhere(), get.TupleWhere, etc including all the operators. I havent played with the latest version of PyDO2 but I wish to have the ability to query straight the database via PyDO using SQL syntax. Is there any such function in the latest version of PyDO2? Would "fetch" do that? Cheers, JC > There is also a new function, "fetch", that enables > you to get > multiple PyDO objects at once, a la the old > scatterfetch, and also to > use just about whatever arbitrary sql you want. It > gives you enough > rope to shoot yourself in the foot. Because it is > such a general > facility, I think it should supplant arrayfetch and > my half-hearted > attempt at modelling joins. Would anyone weep if > they fell under the > axe? Does fetch seem useful? Suggestions, > arguments welcomed. > ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005