2 ms·
I'm not sure I understand; doesn't BOOK.LANGUAGE.eq("DE") mean something like Book.Language = 'DE' in SQL? That's certainly a boolean expression. I've o
by HCIdivision17 11y ago
I'm not sure I understand; doesn't
BOOK.LANGUAGE.eq("DE")
mean something like
Book.Language = 'DE'
in SQL? That's certainly a boolean expression. I've only started reading the manual, though, so it's possible I got the semantics wrong, but I've had SSMS point out to me this sort of thing before.
- continuational 11y agoIf we had selected from or joined on BOOK, it would be a Boolean expression. But in this case, BOOK is undefined, so BOOK.LANGUAGE.eq("DE") shouldn't type check at all. The corresponding SQL is nonsensical: select * from AUTHOR where BOOK.LANGUAGE = 'DE'