I have the following QueryBuilder criteria.
.and(Expression.property("reportNumber").lessThanOrEqualTo
Property: reportNumber
stores numeric values as string in the document.
Is there a way to apply to_number()
function to reportNumber
so that the comparison occurs between 2 numeric values?
In N1QL this is possible > and(x("to_number(reportNumber)")
. Looking for the same thing in QueryBuilder .