Issue #2259361 by jweowu | David_Rothstein: Document that db_query_temporary() can only be used on SELECT queries.

8.0.x
webchick 2014-05-06 12:00:05 -07:00
parent 9cdac07de5
commit 86b3e05b07
1 changed files with 4 additions and 4 deletions

View File

@ -255,14 +255,14 @@ function db_query_range($query, $from, $count, array $args = array(), array $opt
}
/**
* Executes a query string and saves the result set to a temporary table.
* Executes a SELECT query string and saves the result set to a temporary table.
*
* The execution of the query string happens against the active database.
*
* @param $query
* The prepared statement query to run. Although it will accept both named and
* unnamed placeholders, named placeholders are strongly preferred as they are
* more self-documenting.
* The prepared SELECT statement query to run. Although it will accept both
* named and unnamed placeholders, named placeholders are strongly preferred
* as they are more self-documenting.
* @param $args
* An array of values to substitute into the query. If the query uses named
* placeholders, this is an associative array in any order. If the query uses