this post was submitted on 27 Dec 2023
540 points (96.7% liked)

Programmer Humor

19821 readers
4 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 1 year ago (2 children)

But how do I know if the WHERE clause is AND or OR?

[–] [email protected] 5 points 1 year ago (1 children)

We can say default is and and add an Or node for or. Similar to SoP notation, you only write +.

[–] [email protected] 1 points 1 year ago

How about an or boolean attribute.

[–] gravitas_deficiency 3 points 1 year ago* (last edited 1 year ago)

Fair. The constraint nodes should probably exist under an And or Or node.