function db_query

7.x db.inc db_query($query)
6.x db.inc db_query($query)
4.x db.inc db_query($query)
5.x db.inc db_query($query)
138 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_copy_degree_form_validate in modules/admin/admin.degrees.inc
Validate handler. Make sure our allow_overwrite setting is working. Check for existing major code.
admin_display_courses in modules/admin/admin.courses.inc
This function displays all of our courses for us to edit.

... See full list

File

includes/db.inc, line 496
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;
}