3 abstract class PhabricatorPackagesQuery
4 extends PhabricatorCursorPagedPolicyAwareQuery
{
6 public function getQueryApplicationClass() {
7 return 'PhabricatorPackagesApplication';
10 protected function buildFullKeyClauseParts(
11 AphrontDatabaseConnection
$conn,
15 foreach ($full_keys as $full_key) {
16 $key_parts = explode('/', $full_key, 2);
18 if (count($key_parts) != 2) {
24 '(u.publisherKey = %s AND p.packageKey = %s)',
29 // If none of the full keys we were provided were valid, we don't
32 throw new PhabricatorEmptyQueryException();
35 return qsprintf($conn, '%LO', $parts);