Skip to content

Commit 85b7ff6

Browse files
committed
Remove comment
1 parent c3daf68 commit 85b7ff6

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/Database/Adapter/MariaDB.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1527,7 +1527,6 @@ public function find(string $collection, array $queries = [], ?int $limit = 25,
15271527

15281528
$operator = ($orderType === Database::ORDER_DESC) ? Query::TYPE_LESSER : Query::TYPE_GREATER;
15291529

1530-
// Build pagination WHERE clause only if we have a cursor
15311530
if (!empty($cursor)) {
15321531
// Special case: No tie breaks. only 1 attribute and it's a unique primary key
15331532
if (count($orderAttributes) === 1 && $i === 0 && $originalAttribute === '$sequence') {

src/Database/Adapter/Postgres.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1409,7 +1409,6 @@ public function find(string $collection, array $queries = [], ?int $limit = 25,
14091409

14101410
$operator = ($orderType === Database::ORDER_DESC) ? Query::TYPE_LESSER : Query::TYPE_GREATER;
14111411

1412-
// Build pagination WHERE clause only if we have a cursor
14131412
if (!empty($cursor)) {
14141413
// Special case: No tie breaks. only 1 attribute and it's a unique primary key
14151414
if (count($orderAttributes) === 1 && $i === 0 && $originalAttribute === '$sequence') {

0 commit comments

Comments
 (0)