LinkField::addToQuery
Add all columns which are defined through {@link requireField()} and {@link $composite_db}, or any additional SQL that is required to get to these columns. Will mostly just write to the {@link SQLQuery->select} array.
Signature
public function addToQuery(SQLQuery&
$query )
Parameters
$query
— object