You are here

function dba_execute_query in Database Administration 5

1 call to dba_execute_query()
dba_query_form_pre_render in ./dba.module

File

./dba.module, line 835
Allows administrators direct access to their Drupal database. Written by Jeremy Andrews <jeremy@kerneltrap.org>, June 2004. PostgreSQL functionality provided by AAM <aam@ugpl.de> Major security audit, porting, and maintenance by Derek…

Code

function dba_execute_query($sql) {
  if (user_access('dba administer database')) {
    return _db_query($sql);
  }
}