Jorge Godoy wrote: > Em Quarta 26 Abril 2006 05:55, Robin Haswell escreveu: > > Maybe SO should throw an error/warning when people use these names? > > What names? Names for MySQL are not the same names as for PostgreSQL and > Oracle and Firebird and ... > > If each driver had a list of reserved keywords, then it would be possible. > The problem is the performance impact since you should check for these on > table creation and every select (I believe that with sqlbuilder I can select > into a temporary table...).
I'd think it would be very easy for SQLObject to maintain such a list for each driver. Such lists are freely available, for a start. As for performance, if you're worried about the efficiency of doing a simple "if kw in kwDict", you shouldn't be using an object-relational mapper in the first place ;) -- Ben Sizer --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

