Skip to content

Commit fd2120c

Browse files
committed
dbg
1 parent 33f7081 commit fd2120c

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/Database/Database.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3527,6 +3527,8 @@ private function populateDocumentRelationships(Document $collection, Document $d
35273527

35283528
$related = [];
35293529
if (!empty($relatedIds)) {
3530+
//var_dump($queries);
3531+
35303532
$foundRelated = $this->find($relatedCollection->getId(), [
35313533
Query::equal('$id', $relatedIds),
35323534
Query::limit(PHP_INT_MAX),

tests/e2e/Adapter/Scopes/RelationshipTests.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ public function testZoo(): void
4343
$database->createCollection('veterinarians');
4444
$database->createAttribute('veterinarians', 'fullname', Database::VAR_STRING, 256, true);
4545

46-
4746
$database->createCollection('presidents');
4847
$database->createAttribute('presidents', 'first_name', Database::VAR_STRING, 256, true);
4948
$database->createAttribute('presidents', 'last_name', Database::VAR_STRING, 256, true);
@@ -220,7 +219,7 @@ public function testZoo(): void
220219
'animal' => 'tiger',
221220
]));
222221

223-
var_dump('===start');
222+
var_dump('=== start === === start === === start === === start === === start === === start === === start === === start === === start ===');
224223

225224
$docs = $database->find('veterinarians',
226225
[

0 commit comments

Comments
 (0)