You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works in datomic. Even reading the exception one can see it's lying :)
Take this with some doubt but I was quickly trying to find the issue and it seemed the code was validating the joined variables against all branches of the or-join one by one, so it dies on the first one with the not clause. This seems to be proven with the second attempt below where a dummy clause is entered and the check passes.
Also, I'm using the or-join very often because I have cases where the attribute is either not present or when it is present it should pass some check. I haven't found a simpler way to write this but feel free to point me to better solutions :)
This works in datomic. Even reading the exception one can see it's lying :)
Take this with some doubt but I was quickly trying to find the issue and it seemed the code was validating the joined variables against all branches of the
or-join
one by one, so it dies on the first one with thenot
clause. This seems to be proven with the second attempt below where a dummy clause is entered and the check passes.Also, I'm using the
or-join
very often because I have cases where the attribute is either not present or when it is present it should pass some check. I haven't found a simpler way to write this but feel free to point me to better solutions :)The text was updated successfully, but these errors were encountered: