Search code examples
sqlnode.jsorientdborientdb2.2

Define fields which the LIVE query in orientdb should return


I'm currently working with LIVE queries in OrientDB. Is it possible to decide which fields a 'live-update, live-insert or live-delete' event will return?

I tried a live query like this:

LIVE SELECT username, description FROM User

But it returns the whole node (record). I'm working with the NodeJS library.


Solution

  • for now it's not possible. Live queries yields the entire record involved in the live query