Re: [orientdb] Is OCommandSQL done synchronously?

2018-05-17 Thread Luigi Dell'Aquila
Hi Erik, The Command is intended for the execution of non-idempotent statements (e.g. UPDATE or INSERT), while the Query can only execute idempotent statements (eg. SELECT, MATCH) Thanks Luigi 2018-05-17 12:31 GMT+02:00 Erik T : > Thanks Luigi. > > So what's the difference between OCommandSQ

Re: [orientdb] Is OCommandSQL done synchronously?

2018-05-17 Thread Erik T
Thanks Luigi. So what's the difference between OCommandSQL and OSQLSyncQuery? They seem to be the same so why have two classes? On Thu, May 17, 2018, 3:30 AM Luigi Dell'Aquila wrote: > Hi Erik, > > The query is executed synchronously. The result is returned as soon as all > the result set is av

Re: [orientdb] Is OCommandSQL done synchronously?

2018-05-17 Thread Luigi Dell'Aquila
Hi Erik, The query is executed synchronously. The result is returned as soon as all the result set is available. With the new API (v 3.0) the queries are still synchronous, but the result set is paginated, so the first results are returned as soon as they are available Thanks Luigi 2018-05-16