db_query

5.x db.inc db_query($query)
4.x db.inc db_query($query)
105 calls to db_query()
admin_add_degree_form_submit in modules/admin/admin.degrees.inc
Submit handler for the add_degree_form.
admin_apply_draft_changes_form_submit in modules/admin/admin.module
Handles the actual moving of draft courses into production.
admin_copy_degree_form_submit in modules/admin/admin.degrees.inc
admin_display_courses in modules/admin/admin.courses.inc
This function displays all of our courses for us to edit.
admin_display_degrees in modules/admin/admin.degrees.inc

... See full list

File

includes/db.inc, line 256
This file contains mostly db shortcuts.

Code

function db_query($query) {
  // Capture arguments to this function, to pass along to our $db object.
  $args = func_get_args();
  array_shift($args);

  $db = get_global_database_handler();
  $res = $db->db_query($query, $args);

  return $res;
}