database.inc

Version 1.56.2.5 (checked in on 2008/01/10 at 18:51:37 by killes)

Wrapper for database interface code.

Constants

NameDescription
DB_QUERY_REGEXP

Functions

NameDescription
db_escape_tableRestrict a dynamic tablename to safe characters.
db_prefix_tablesAppend a database prefix to all tables in a query.
db_queryRuns a basic query in the active database.
db_querydDebugging version of db_query().
db_rewrite_sqlRewrites node, taxonomy and comment queries. Use it for listing queries. Do not use FROM table1, table2 syntax, use JOIN instead.
db_set_activeActivate a database for future queries.
_db_query_callbackHelper function for db_query().
_db_rewrite_sqlHelper function for db_rewrite_sql.
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.