Database convenience functions.

  1. 6.x drush/includes/dbtng.inc dbfunctions
  2. 4.x drush/includes/drush.inc dbfunctions
  3. 5.x drush/includes/dbtng.inc dbfunctions
  4. 7.x drush/includes/dbtng.inc dbfunctions

Functions

Namesort descending Location Description
drush_db_delete drush/includes/dbtng.inc A db_delete() that works for any version of Drupal.
drush_db_fetch_object drush/includes/dbtng.inc A db_fetch_object() that works for any version of Drupal.
drush_db_result drush/includes/dbtng.inc A db_result() that works consistently for any version of Drupal.
drush_db_select drush/includes/dbtng.inc A db_select() that works for any version of Drupal.
_drush_replace_query_placeholders drush/includes/dbtng.inc Replace named placeholders in a WHERE snippet.

File

drush/includes/dbtng.inc, line 8
Wrappers to abstract database operations from Drupal version.