[PHP]idiorm #3 select_expr
$this->init_pgsql(); try{ $orm = ORM::for_table('users')->select_expr("DISTINCT CONCAT(team,'_',job)","tj")->select('team')->select('job'); $orm->where_in('team',$teams); $records = $orm->find_array(); }catch (PDOException $e){ return null; } return $records;