Hi,
Suggestion to have both of these queries return the same result
select from User where out('livesIn').name contains 'Roma'
select from User where out('livesIn').name = 'Roma'
I've noticed this problem on my side a few days ago where I used an "="
instead of "contains" on a collection. I put it down to my inexperience
but as I talked to Luca today, he wrote an example query and made the same
mistake of using = instead of contains. It took me 10 minutes to notice it.
Also, when I read it the first time, I understood it to mean that the name
contains the word 'Roma' (as in SubStr or IndexOf).
Would it be possible to have "=" work in the same way as "contains" on
collections so that both queries would work in the same way. less
confusing for new comers (like me) and unless "=" means something else on
collections, no reason not to.
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.