protected function RestfulDataProviderDbQuery::getQuery in RESTful 7
Get a basic query object.
Return value
SelectQuery A new SelectQuery object for this connection.
3 calls to RestfulDataProviderDbQuery::getQuery()
- RestfulDataProviderDbQuery::getQueryCount in plugins/
restful/ RestfulDataProviderDbQuery.php - Prepare a query for RestfulEntityBase::getTotalCount().
- RestfulDataProviderDbQuery::getQueryForList in plugins/
restful/ RestfulDataProviderDbQuery.php - Prepare a query for RestfulEntityBase::getList().
- RestfulExampleNodeUserResource::getQuery in modules/
restful_example/ plugins/ restful/ db_query/ node_user/ 1.0/ RestfulExampleNodeUserResource.class.php - Overrides \RestfulDataProviderDbQuery::getQuery().
1 method overrides RestfulDataProviderDbQuery::getQuery()
- RestfulExampleNodeUserResource::getQuery in modules/
restful_example/ plugins/ restful/ db_query/ node_user/ 1.0/ RestfulExampleNodeUserResource.class.php - Overrides \RestfulDataProviderDbQuery::getQuery().
File
- plugins/
restful/ RestfulDataProviderDbQuery.php, line 143 - Contains \RestfulDataProviderDbQuery
Class
- RestfulDataProviderDbQuery
- @file Contains \RestfulDataProviderDbQuery
Code
protected function getQuery() {
$table = $this
->getTableName();
return db_select($table)
->fields($table);
}