[orientdb] Re: Wrong result with simple query

2016-09-26 Thread Tan Ho
Hi Alessandro, Thank you so much! It works like a charm. And this issue already opened on Github . Best regards, Tan On Monday, 26 September 2016 19:26:08 UTC+7, alessand...@gmail.com wrote: > > Hi, > I've unswered you on

[orientdb] Re: Wrong result with simple query

2016-09-26 Thread Tan Ho
Thank you for quickly answer! Please check my commend on stackoverflow. On Monday, 26 September 2016 18:49:05 UTC+7, Oleksandr Gubchenko wrote: > > I've unswered you on stackoverflow. > > Il giorno lunedì 26 settembre 2016 13:37:25 UTC+2, Tan Ho ha scritto: >> >> Se

[orientdb] Wrong result with simple query

2016-09-26 Thread Tan Ho
Seem that OrientDB doesn't return the correct result for the simple search. I created a class node item with 2 properties id and flag - id: type STRING, index: UNIQUE - flag: type DECIMAL flag can be set by 1, 0, or null value. I use the query below to get all item which has flag is 1

[orientdb] Re: Using REST with Distributed Graph

2016-09-06 Thread Tan Ho
Hi Alessandro, Thank you! But I don't think PHP API doesn't support it. :( Best regards, Tan On Tuesday, 6 September 2016 17:09:19 UTC+7, alessand...@gmail.com wrote: > > Hi, > I think you should check the connection to the node1 and if it were not > online, you can connect to node2 > > Best

[orientdb] Using REST with Distributed Graph

2016-09-06 Thread Tan Ho
down votefavorite Hi all, I have a distributed graph with 2 nodes. And I have defined some functions ( http://orientdb.com/docs/last/Functions-Creation.html) I want to call them from my PHP webapp.

[orientdb] Re: How to check the vertex doesn't have specific edge

2016-09-04 Thread Tan Ho
> > > <https://lh3.googleusercontent.com/-BGWDnlxc1os/V8nyZFgBfgI/AEA/qq6DnHlkWtY63EG5VGmrS8Umc6RoUaDNQCLcB/s1600/schema2.jpg> > > > Hope it helps, > > Alex. > > > > > > Il giorno venerdì 2 settembre 2016 23:25:56 UTC+2, Tan Ho ha scritto: >> >> Hi all, >>

[orientdb] How to check the vertex doesn't have specific edge

2016-09-02 Thread Tan Ho
Hi all, Maybe this is a simple question for you but I was not able to find any answer. I have some vertices of class 'product' which can be 'viewed', 'ordered' by 'user'. My problem is that I want to get all product where 'viewed' by specific user, and it's has not been 'ordered' by any user.