Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion chapter16/answers.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ SELECT two_names FILTER len(two_names) = 2;
The query is quite short:

```edgeql
SELECT (Person.name, find(Person.name, 'ma'));
with names := (select (Person.name, find(Person.name, 'ma')))
select names.0 filter names.1 != -1;
```

Note that the first `Person.name` and the second `Person.name` are the same, which is why no Cartesian multiplication is used. However, if you changed the second one to `DETACHED Person.name` it would, and you would get well over 100 results.
Expand Down