[orientdb] Re: simple query ist mysterious

2016-09-19 Thread Oleksandr Gubchenko
I've done some tests and you are right, with you db there is some strange behaviour. But this query seems to work fine: select * from option where 30 = strike or: select * from contract where 30 = strike

[orientdb] Re: simple query ist mysterious

2016-09-19 Thread Oleksandr Gubchenko
I've also tried it on 2.2.7 with option being sub-class of contract. All works properly. Il giorno lunedì 19 settembre 2016 09:36:02 UTC+2, Oleksandr Gubchenko ha scritto: > > On 2.2.10 I get this: > > >

[orientdb] Re: simple query ist mysterious

2016-09-19 Thread Oleksandr Gubchenko
On 2.2.10 I get this: Your option class is a superclass of contract? Il giorno lunedì 19 settembre 2016 09:26:30 UTC+2, hartmut bischoff ha scritto: > > I'm using

[orientdb] Re: simple query ist mysterious

2016-09-19 Thread hartmut bischoff
I'm using 2.2.7 On Monday, September 19, 2016 at 8:42:38 AM UTC+2, Oleksandr Gubchenko wrote: > > I've tried it on the latest 2.2.10 and both studio and rest (using

[orientdb] Re: simple query ist mysterious

2016-09-19 Thread Oleksandr Gubchenko
I've tried it on the latest 2.2.10 and both studio and rest (using postman) give me the right result: {"result":[{"@type":"d","@rid":"#21:0","@version":1,"@class":"contract", "strike":30,"@fieldTypes":"strike=c"}]} Alex. Il giorno lunedì 19 settembre 2016 08:35:01 UTC+2, Oleksandr Gubchenko ha

[orientdb] Re: simple query ist mysterious

2016-09-19 Thread Oleksandr Gubchenko
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