Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
Current *DB master (SQL++)
Description
I'm wondering if:
SELECT VALUE user
FROM GleambookUsers user
WHERE user.userSince;
should work as a lazy shorthand for:
SELECT VALUE user
FROM GleambookUsers user
WHERE user.userSince = TRUE;
Because if it should, it doesn’t, in current *DB.
The first form yields a runtime error:
"Runtime error: the select condition should be of the boolean type! [IllegalStateException]"
The fact that it gets this far syntactically suggests that maybe it's indeed a bug?