From: Lutz S. <l.s...@4c...> - 2009-10-13 07:18:03
|
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 |