On Thu, Jun 11, 2009 at 11:50:09AM +0300, Dan Pascu wrote:
> On 11 Jun 2009, at 11:23, jonhattan wrote:
> > Sam's Lists escribi?:
> >> Is there a way to force SQLObject to quote it properly?
> >>
> > you can force the name of the column in the database this way:
> >
> > condition = StringCol(dbName='_condition')
> 
> Or simply quote it and you do not need to change anything:
> 
> condition = StringCol(dbName='`condition`')

   But you have to remember this may cause problems when SQLObject uses
dbName to construct a complex name like sequence name (in Postgres).

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            p...@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to