retrography / OrientR

A wrapper for OrientDB REST API interface in R
Apache License 2.0
16 stars 3 forks source link

How do I retrieve/see the rid? #18

Open abeburnett opened 6 years ago

abeburnett commented 6 years ago

When I do a simple query to select all vertices:

select from V

The record set which comes back is missing the metadata (rid, class, version). How do I retrieve this information? When I run the same query in OrientDB Studio I automatically get the metadata associated with every vertex.

I think I need this data in order to do anything practical because otherwise all my edges don't know what nodes they map to.

Please advise!

Thank you!

retrography commented 6 years ago

Hi Abe,

I just saw this. I haven't used this for such a long while that I have difficulty remembering. If I remember correctly you have to pass the parameter rm.meta = F to the runQuery function.

Hope this helps.