Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phortune/query/PhortuneAccountQuery.php
Show First 20 Lines • Show All 96 Lines • ▼ Show 20 Lines | if ($this->memberPHIDs) { | ||||
$conn, | $conn, | ||||
'm.dst IN (%Ls)', | 'm.dst IN (%Ls)', | ||||
$this->memberPHIDs); | $this->memberPHIDs); | ||||
} | } | ||||
return $this->formatWhereClause($where); | return $this->formatWhereClause($where); | ||||
} | } | ||||
private function buildJoinClause(AphrontDatabaseConnection $conn) { | protected function buildJoinClause(AphrontDatabaseConnection $conn) { | ||||
$joins = array(); | $joins = array(); | ||||
if ($this->memberPHIDs) { | if ($this->memberPHIDs) { | ||||
$joins[] = qsprintf( | $joins[] = qsprintf( | ||||
$conn, | $conn, | ||||
'LEFT JOIN %T m ON a.phid = m.src AND m.type = %d', | 'LEFT JOIN %T m ON a.phid = m.src AND m.type = %d', | ||||
PhabricatorEdgeConfig::TABLE_NAME_EDGE, | PhabricatorEdgeConfig::TABLE_NAME_EDGE, | ||||
PhortuneAccountHasMemberEdgeType::EDGECONST); | PhortuneAccountHasMemberEdgeType::EDGECONST); | ||||
Show All 10 Lines |