public function RestfulDataProviderDbQuery::setIdColumn in RESTful 7
Set the name of the column in the table to be used as the unique key.
Parameters
string $id_column: The name of the column in the table to be used as the unique key.
File
- plugins/
restful/ RestfulDataProviderDbQuery.php, line 54 - Contains \RestfulDataProviderDbQuery
Class
- RestfulDataProviderDbQuery
- @file Contains \RestfulDataProviderDbQuery
Code
public function setIdColumn($id_column) {
$this->idColumn = $id_column;
}