db_select($table, $alias = NULL, array $options = array())Returns a new SelectQuery object for the active database.
$table 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.
$alias The alias for the base table of this query.
$options An array of options to control how the query operates.
SelectQuery A new SelectQuery object for this connection.
includes/database/database.inc, line 2318
<?php
function db_select($table, $alias = NULL, array $options = array()) {
if (empty($options['target'])) {
$options['target'] = 'default';
}
return Database::getConnection($options['target'])->select($table, $alias, $options);
}
?> | This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License | ![]() |
The current recommended MediaMosa version is 3.2.2. Release notes are available in MediaMosa Trac.
