Re: [Zope] dtml-sqltest and capital column names
13 Oct
2000
13 Oct
'00
2:51 p.m.
Talking to myself .... A slight correction to my patch so that tablename.columname will be rendered as to "tablename"."columnname". 146c146 < from string import find, split, join, atoi, atof ---
from string import find, split, join, atoi, atof, replace 165,166c165,166 < if has_key('column'): self.column=args['column'] < else: self.column=self.__name__
if has_key('column'): self.column='"'+replace(args['column'], '.', '"."')+'"' else: self.column='"'+replace(self.__name__, '.', '"."')+'"'
It would be nice if someone could comment whether this makes sense for other dbs too. cheers, oliver
9306
Age (days ago)
9306
Last active (days ago)
0 comments
1 participants
participants (1)
-
Oliver Bleutgen