function views_plugin_query_default::db_query

Wrapper method for db_query().

Parameters

$query: A string containing an SQL query.

$args: An array containing the query arguments.

Return value

A database query result resource, or FALSE if the query was not executed correctly.

1 call to views_plugin_query_default::db_query()
views_plugin_query_default::execute in plugins/views_plugin_query_default.inc
Executes the query and fills the associated view object with according values.

File

plugins/views_plugin_query_default.inc, line 1229

Class

views_plugin_query_default
Object used to create a SELECT query.

Code

function db_query($query, $args = array()) {
    return db_query($query, $args);
}