this is more a question probably than an issue. I was trying to write the code for a login, and i came across "Criteria", i needed two equal conditions joined with an AND condition: username and password, to verificate the user.
I played a little with AND Junctions but there is no trace of equal condition, there is only like condition that obviously doesn't fit my needs.
So i tried simply this:
var _authCrt : Criteria = ev.data as Criteria; _authCrt.addEqualsCondition("username", username) .addEqualsCondition("password", password);
And works! So the question is: what's the difference between using AND Junction and the code above? And why there is no equal condition in Junction?