select from V_Comment where in('E_DocComment').@rid in [ #19:5 ]
OrientGraphFactory graphFactory = new OrientGraphFactory(SERVER_URL, USER_LOGIN, USER_PASS);
String documentId = "#19:5";
OSQLSynchQuery<ODocument> query = new OSQLSynchQuery<>("select from V_Comment where in('E_DocComment').@rid in [ ? ] ");
List<ODocument> result = graphFactory.getDatabase().command(query).execute(documentId);
--
---
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-databa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
We are using getIdentity().toString() to get the rid and then combine it in the sql statement.
Will it produce other results? Why?
Tsadok