Skip to content

Commit

Permalink
CommandQuery: Remove select * from joins (Postgres)
Browse files Browse the repository at this point in the history
refs #5896
  • Loading branch information
mxhash committed Sep 1, 2014
1 parent 30f3910 commit 21f0b4c
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -51,10 +51,12 @@ protected function joinContacts()
{
$this->select->join(
array('cnc' => $this->prefix . 'contact_notificationcommands'),
'cnc.command_object_id = co.object_id'
'cnc.command_object_id = co.object_id',
array()
)->join(
array('con' => $this->prefix . 'contacts'),
'con.contact_id = cnc.contact_id'
'con.contact_id = cnc.contact_id',
array()
);
}
}

0 comments on commit 21f0b4c

Please sign in to comment.