From 4c5221a9397d618240f5f168e1110d3e1da9c845 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 12 Dec 2008 16:21:58 +0000 Subject: - Patch #299178 by Crell et al: add support for subqueries in FROM and JOIN clauses in dynamic query. Cool feature/syntax. --- includes/database/database.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes/database/database.inc') diff --git a/includes/database/database.inc b/includes/database/database.inc index bd154e626..9dc3d78dd 100644 --- a/includes/database/database.inc +++ b/includes/database/database.inc @@ -1687,7 +1687,8 @@ function db_delete($table, array $options = array()) { * Returns a new SelectQuery object for the active database. * * @param $table - * The base table for this query. + * The base table for this query. May be a string or another SelectQuery + * object. If a query object is passed, it will be used as a subselect. * @param $alias * The alias for the base table of this query. * @param $options -- cgit v1.2.3