src/ORM/DataObjectSchema.php
public function databaseField($class, $field, $aggregated = true)
    {
        $fields = $this->databaseFields($class, $aggregated);
        return isset($fields[$field]) ? $fields[$field] : null;
    }
public function databaseField($class, $field, $aggregated = true)
    {
        $fields = $this->databaseFields($class, $aggregated);
        return isset($fields[$field]) ? $fields[$field] : null;
    }
public function databaseField ( $ class , $ field , $ aggregated = true ) { $ fields = $ this -> databaseFields ( $ class , $ aggregated ) ; return isset ( $ fields [ $ field ] ) ? $ fields [ $ field ] : null ; }
Gets a single database field.

@param string $class Class name to query from
@param string $field Field name
@param bool $aggregated Include fields in entire hierarchy, rather than just on this table

@return string|null Field specification, or null if not a field
Gets a single database field .