On Sun, Feb 17, 2008 at 07:00:08PM +0100, Markus Gritsch wrote:
> what should one use as the omni-present parameter 'db' in various
> SQLObject 0.10 methods? In version 0.9 I used to call
> query.tablesUsed(), but this does not work anymore in 0.10 since
> tablesUsed() requires the parameter 'db'.
Use connection.dbName. It's passed to sqlrepr() and down to
StringlikeConverter that uses the db name to distinguish two styles of
string quoting. See converters.py.
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss