For example, consider the two following queries and the SQL they generate. The following examples are not valid queries, but examples to show how Query 1: rev = "*", type = "A", name = "*", and attribute[A] = 'this' SQL generated: (type=="A") && (revision == "*") && (name == "*") && (attribute[A] == 'this') Query 2: rev = "*", type = "A", name = "*", and attribute[A].value = 'this' SQL generated: (type=="A") && (minorrevision == "*") && (name == "*") )
The difference is the processing order of the query. In query 1, all the clauses are evaluated in order. In query 2, the
When using |