Carl Karsten wrote: > Paul McNett wrote: >> johnf wrote: >>> On Wednesday 14 February 2007 23:11, Joe Brown wrote: >>>> Okay, now that I've kicked the dead horse... How about including an >>>> option somewhere quoted_names=False to bypass the filter for debugging >>>> purposes??? >>> +1 >> +1 on making it a property called AutoQuoteNames, defaulting to True. >> This will allow turning off the feature for those of us who: 1)tend to >> create table and field names smartly, 2)like to get an exception if we >> didn't name something smartly, and 3)just hate how the SQL looks now. >> > > I like point 2. > > +1
Do you and John want to try your hand at implementing it? You'd need the property definition in dBizobj to shadow the property definition in dCursorMixin, and for that to shadow the definition in dBackend. You'd also want to write a test in test_dCursorMixin.py, called test_AutoQuoteNames, that verifies that we get quoting when True, and vice-versa. Just a thought, in case you are interested. -- pkm ~ http://paulmcnett.com _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
