Hi there!
I would like to know if there is a way to cast mine column which is string to integer in NXQL query. I want to do that because I want to either order by this column with desc attribute or choose the highest string (I didn't have any influence on what type of column it will be).
So I would reeeallly like something like this to work 🙂 :
SELECT * FROM Document ORDER BY CAST(myCustomType:myCustomProperty AS INTEGER) DESC
I also tried something like this with nuxeo api
myurl?query=SELECT MAX(myCustomType:myCustomProperty) FROM Document but i got 0 entries
P.S.
I tried to to this also in OpenCmis and Cmisql but somehow cmis doesn't see my custom property. It's null/empty even if in reality and in Nuxeo it isn't
Regards,
Michal Wochnik