function party_query in Party 7
Same name and namespace in other branches
- 8.2 party.module \party_query()
Returns a new SelectQuery extended by PartyQuery for the active database.
Parameters
$options: An array of options to control how the query operates.
Return value
SelectQuery A new SelectQuery object for this connection.
See also
1 call to party_query()
- party_party_primary_fields_alter in ./
party.party.inc - Implements hook_party_primary_fields_alter().
File
- ./
party.module, line 1415 - Provides a generic CRM party entity.
Code
function party_query($alias = 'party', $options = array()) {
return db_select('party', $alias, $options)
->addTag('party_access')
->extend('PartyQuery');
}