Hi,

which version are you using?

Il giorno lunedì 19 settembre 2016 08:20:41 UTC+2, hartmut bischoff ha 
scritto:
>
> Hi,
>
> I was very surprised, that a simple query " select from something where a 
> = b " could be a subject.
>
> but
> 2.3.1 :001 > DB.execute{ "select from contract where strike = 30" }
>  => [] 
> 2.3.1 :002 > DB.execute{ "select from contract where strike between 30 and 
> 30" }
>  => [#<IB::Option:0x000000031fa268 @metadata={"type"=>"d", 
> "class"=>"option", "version"=>1, "fieldTypes"=>"expiry=t,strike=c", 
> "cluster"=>25, "record"=>25},  @attributes={ (...) "strike"=>30.0, (...) ] 
> 2.3.1 :003 > 
>
>  
> (rest-api)
>
> A verification in studio was successful. 
>
> The property "strike" is defined as decimal. 
>
> Why is the simple "where strike =  30" or "where strike = 30.0" returning 
> an empty result,
> whereas "where strike between 30 and 30" returns the correct record?
>
>
>
> hartmut
>
>
>
>
>
>
>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to