On Feb 2, 2010, at 9:31 AM, Thadeus Burgess wrote:

> Actually, we can use the Adaptors to hold specific keywords. So in
> DAL.__init__ can have for fields if fieldname in
> self._adapter.KEYWORDS then raise SyntaxError

It's be nice to have a way to take advantage of the keyword lists in Adapters 
that you're not necessarily using. Say I'm developing with SQLite with the 
intention of moving to MySQL in production; I'd like to be testing against 
MySQL keywords from the beginning, to avoid nasty surprises later.

I'm not sure what it'd look like; I'd settle for a "strict" name check that 
used the union of all the keywords. I assume that's not practical, though, if 
the lists are in unused Adapters?

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to