I'm trying to figure out if it will be possible for me to split my logic
between multiple server-side functions. For that to work, I need to make
sure that data created/edited in one function call can be read by other
subsequent functions within the same transaction. So far, that's not
working for me, not even within the same function.
Here is my example Javascript function:
*var db = orient.getDatabase();*
*db.save({*
* "@class": "UserProfile",*
* name : "test10-5"});*
*var userProfile = db.query('SELECT FROM UserProfile WHERE name =
"test10-5"');*
*return userProfile;*
With this logic, I expect one (1) record to be returned. My Java code
indicates that an OIdentifiable[] array is returned, but it is *empty*. How
come I can't find the data that I just created?
--
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.