Skip to content

Commit

Permalink
Search::findQuery(): performance tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
zozlak committed Jul 6, 2023
1 parent b4973ea commit 4f95b95
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/acdhOeaw/arche/oaipmh/search/BaseSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

namespace acdhOeaw\arche\oaipmh\search;

use DateTime;
use PDO;
use Psr\Log\AbstractLogger;
use zozlak\queryPart\QueryPart;
Expand Down Expand Up @@ -247,7 +246,7 @@ private function findQuery(string $id, string $from, string $until,
$delDataQP = $this->deleted->getDeletedData();
$setDataQP = $this->sets->getSetData();
$query = "
WITH valid AS (
WITH valid AS MATERIALIZED (
SELECT id
FROM
resources
Expand Down

0 comments on commit 4f95b95

Please sign in to comment.