Here is an example of what I get back from an orient.js 'exec' call:
{
"status": {
"code": 0,
"sessionId": 123
},
"results": [{
"type": "f",
"content": "1"
}]
}
I've not been able to find any documentation on this. Is that available anywhere? While I can "reverse engineer" some of it, by looking at different responses, it would be nice to have:
- a list of status codes
- what type and content actually mean in results
- why is results an array (when will it contain multiple items)
And most importantly, is this the only format that will ever be returned from an 'exec'?