Ensure the main table for this handler is in the query. This is used a lot.
public function ensureMyTable() {
if (!isset($this->tableAlias)) {
$this->tableAlias = $this->query
->ensure_table($this->table, $this->relationship);
}
return $this->tableAlias;
}