I have a query similar to the following in Orient 2.0.12:
I execute it from Java, with the following method over ODatabaseDocumentTx:
It seems that parameters can't be used inside square brackets, as you can see also in the attached UnitTest.
I think this is a bug, can you fix it in 2.0.13 release?
Otherwise can you help me obtaining the same results without this syntax?