[UPHPU] SQL field as prefix for all fields
justin
justin at justinhileman.info
Mon Jan 28 16:31:10 MST 2008
On Jan 28, 2008 4:21 PM, Craig Jackson <CJackson at cirris.com> wrote:
> I just remembered that on installation of Drupal, they have a feature that lets you add a prefix to your database tables. But, when you use the queries and fetches with drupal's built-in functions they return the tables as if they don't have a prefix. So, you could see what they are doing as well to get to an answer to your question.
Drupal runs every query through a rewrite function that adds the
prefix, then returns every result through a similar function that
strips off the prefix... It's built into their database abstraction.
justin
--
http://justinhileman.com
More information about the UPHPU
mailing list