protected function loadPage()
 {
     $table = new PhabricatorOAuthClientAuthorization();
     $conn_r = $table->establishConnection('r');
     $data = queryfx_all($conn_r, 'SELECT * FROM %T auth %Q %Q %Q', $table->getTableName(), $this->buildWhereClause($conn_r), $this->buildOrderClause($conn_r), $this->buildLimitClause($conn_r));
     return $table->loadAllFromArray($data);
 }
 public function execute()
 {
     $table = new PhabricatorOAuthClientAuthorization();
     $conn_r = $table->establishConnection('r');
     $where_clause = $this->buildWhereClause($conn_r);
     $limit_clause = $this->buildLimitClause($conn_r);
     $data = queryfx_all($conn_r, 'SELECT * FROM %T auth %Q %Q', $table->getTableName(), $where_clause, $limit_clause);
     return $table->loadAllFromArray($data);
 }