Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by ldb

7 years ago

How do I test for empty set? If I understand correctly then "SELECT * FROM Movies WHERE description = {};" will not work, right?

1 comment

ldb

Reply

1st1  7 years ago

You can use the EXISTS operator: https://edgedb.com/docs/edgeql/funcops/set#operator::EXISTS

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities