Good morning,

is there a way to log the query that SQLObject generates ?

example (maybe stupid):

result = MyTable.get(1)
logging.debug('%s' % result.print_sql_query())

or without execution

logging.debug('%s' % MyTable.get(1).return_only_query_as_string())


Kindly regards
Lutz

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to