edgedb / easy-edgedb

An illustrated textbook designed to be a one-stop shop for learning EdgeDB
https://www.edgedb.com/easy-edgedb
69 stars 36 forks source link

The () is missing from assert_single #116

Closed xidoc closed 11 months ago

xidoc commented 12 months ago

The () for assert_single is missing from chapter 5

insert MinorVampire {
  name := 'Vampire Woman 1',
  master := assert_single(select Vampire filter .name = 'Count Dracula')
};
master := assert_single((select Vampire filter .name = 'Count Dracula'))
Dhghomon commented 11 months ago

The most recently merged branch has these assert_single()s in them so will close now. Thanks!