db_like($string) Escapes characters that work as wildcard characters in a LIKE pattern. The
db_field_names($fields) Returns an array of field names from an array of key/index column specifiers.
db_add_unique_key($table, $name, $fields) Adds a unique key. Parameters
db_or() Returns a new DatabaseCondition, set to "OR" all conditions together. Return
db_index_exists($table, $name) Checks if an index exists in the given table. Parameters
db_condition($conjunction) Returns a new DatabaseCondition, set to the specified conjunction.
Core systems for the database layer. Classes required for basic functioning of the database system should be placed in this file. All utility
db_ignore_replica() Sets a session variable specifying the lag time for ignoring a replica server (A replica
db_close(array $options = array()) Closes the active database connection. Parameters
db_drop_primary_key($table) Drops the primary key of a database table. Parameters
Page 1 of 5