Hi,
subscription.fieldNames() returns only the properties and not the @rid that
is a metadata.
If you want to obtain the @rid you can use subscription.getIdentity().
If you print the result of subscription.toJSON() you can see the @rid.
Esample
{"@type":"d","@rid":"#41:0","@version":3,"@class":"Subscription","name":"name
1","in_sellsTo":["#33:0"],"active":true,"@fieldTypes":"in_sellsTo=g"}
Hope it helps.
--
---
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.