3 final class AlmanacNetworkQuery
10 public function withIDs(array $ids) {
15 public function withPHIDs(array $phids) {
16 $this->phids
= $phids;
20 public function newResultObject() {
21 return new AlmanacNetwork();
24 public function withNames(array $names) {
25 $this->names
= $names;
29 public function withNameNgrams($ngrams) {
30 return $this->withNgramsConstraint(
31 new AlmanacNetworkNameNgrams(),
35 protected function buildWhereClauseParts(AphrontDatabaseConnection
$conn) {
36 $where = parent
::buildWhereClauseParts($conn);
38 if ($this->ids
!== null) {
41 'network.id IN (%Ld)',
45 if ($this->phids
!== null) {
48 'network.phid IN (%Ls)',
52 if ($this->names
!== null) {
55 'network.name IN (%Ls)',
62 protected function getPrimaryTableAlias() {
66 public function getQueryApplicationClass() {
67 return 'PhabricatorAlmanacApplication';