Skip to content

Commit f41bda3

Browse files
Person also owned name so we do company instead
1 parent b187744 commit f41bda3

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

query/language/fetch.feature

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -420,22 +420,16 @@ Feature: TypeQL Fetch Query
420420
When get answers of typeql read query
421421
"""
422422
match
423-
$p isa person;
423+
$c isa company;
424424
fetch {
425-
"person": [ $p.name ]
425+
"company": [ $c.name ]
426426
};
427427
"""
428-
Then answer size is: 2
429-
Then answer contains document:
430-
"""
431-
{
432-
"person": [ "Alice", "Allie" ]
433-
}
434-
"""
428+
Then answer size is: 1
435429
Then answer contains document:
436430
"""
437431
{
438-
"person": [ "Bob" ]
432+
"company": [ "TypeDB" ]
439433
}
440434
"""
441435

0 commit comments

Comments
 (0)