On Fri, Jan 25, 2008 at 08:01:13AM +1100, Richard Jones wrote:
> On Fri, 25 Jan 2008, Oleg Broytmann wrote:
> > On Thu, Jan 24, 2008 at 07:17:55PM +1100, Richard Jones wrote:
> >    After you have created an instance of the Select class you need to
> > render it to an SQL query, run the query and get the results.
> 
> Hmm, so I could just use the SQL statement string I've already written?

   You can, if you don't want for SQLObject to generate it.

> Thanks for your explanation, now how do I get a connection? :)
> I'm using TurboGears

   No idea how to get it from TG. SQLObject creates a connection if you
declare DB URI, or you can create a connection from DB URI yourself calling
connectionForURI(URI).

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to