mistknight at gmail.com
Wed Apr 18 01:16:24 UTC 2007
Looking at this function which raps db_query calls and allows modules to
alter the query, I was wondering how a hook_db_rewrite_sql is supposed to
distinguish the queries that it wants to alter from the queries that it
wants to leave alone?
Only way I can think of is to do a string match on large parts of the
original query, but isn't this quite messy, or am I missing something? Could
someone please shed the light on this issue?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the development