Hi all,
I'm working with OrientDB Server v2.0.2. 

I'm trying a simple request

select * from InstallationFee where infinite OR (date() >= dateFrom and date() 
<= dateTo)

But the database returns the following error in the studio :
    java.lang.ClassCastException: 
com.orientechnologies.orient.core.sql.filter.OSQLFilterItemField cannot be 
cast to com.orientechnologies.orient.core.sql.filter.OSQLFilterCondition

and in the console
    2015-03-05 10:51:25:528 SEVERE Internal server error: 
java.lang.ClassCastException: 
com.orientechnologies.orient.core.sql.filter.OSQLFilterItemField cannot be 
cast to com.orientechnologies.orient.core.sql.filter.OSQLFilterCondition 
[ONetworkProtocolHttpDb]

How do you do a query using dates?


-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to