The function dataForQuery in the class obo\DataStorage\MySQL filters out the properties which are not associated to the entity. Hence, it is impossible to select properties which belongs to a different table than to table for the entity. This happens if you need to retrieve raw data.
$specification = self::queryCarrier()
->select("{id}, {contact}.{name}")
->where("AND {contact}.{name} LIKE %~like~", $term);
$data = parent::rawDataForSpecification($specification)
$data will contain only the key id. The key contact.name is missing in the $data.
The function dataForQuery in the class obo\DataStorage\MySQL filters out the properties which are not associated to the entity. Hence, it is impossible to select properties which belongs to a different table than to table for the entity. This happens if you need to retrieve raw data.
$data will contain only the key id. The key contact.name is missing in the $data.