orientjs
orientjs copied to clipboard
RID normal query vs live query
I noticed that there is a difference in output for the rid in a normal query vs a live query.
While a normal query displays the rid as follows:
{
"@rid": { "cluster": ..., "position": ..., [ Function]},
"username": "Bob"
}
A live query displays the rid like this:
{
"cluster": ...,
"position": ...,
"content": { "username": "Bob"}
}
Is there are reason the rid isn't part of the property 'content'?
Hi @RubenVermeulen
yes i noticed too. For backward compatibility i cannot change that. So we are probably going to change that for 3.0 and use the same format
Thanks