public function getSelects()
{
$selects = $this->bindings['select'];
$schema = $this->schema;
if (count($selects) > 0) {
// Always make sure object category and class are selected. We need these
// attributes to construct the right model instance for the record.
$selects[] = new Select($schema->objectCategory());
$selects[] = new Select($schema->objectClass());
}
return $selects;
}