On 9 May 2011 15:56, Mark Proctor <span dir="ltr"><<a href="mailto:mproctor@codehaus.org">mproctor@codehaus.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff"><div class="im">
On 09/05/2011 12:40, Wolfgang Laun wrote:</div><div class="im"><blockquote type="cite"><br>
But the following does not permit indexing: <br>
<any RHS expression from above> == <fieldname><br>
</blockquote></div>
I don't understand this question as there is no join process in the
RHS, and thus no possible indexing.<br><font color="#888888">
<br></font></div></blockquote><div><br>I thought that a very simple transformation could fold this back into<br> <fieldname> == <any RHS expression from above><br><br>If the "indexable" forms can be detected by checking the 1st operand and the operator, surely the same is possible for testing the 2nd operand, followed by swapping operands.<br>
<br>Example:<br> Person( name == "Fred" )<br>same as<br> Person( "Fred" == name ) <br><br>But I don't think that this is an important feature - just wanted to make sure what is, and what is not carried over from legacy.<br>
<br>Thanks<br>Wolfgang<br><br><br><br> </div></div><br>