In couchbase server/sync gateway, I have documents with structure as follows:
Now in my couchbase lite android, I can see name and id but the id is the meta id of the document:
"id": "meta id of the document"
I have tried aliasing the meta id as follows
but still I don’t see the int id still.
what could be the reason
We’ll need to see your the whole query and the actual result to figure out what is going on.
It might help to know that your document has two ID-like fields, one called “id” and the other called “_id”.
@Sium agree with @blake.meike that “We’ll need to see your the whole query and the actual result to figure out what is going on,” but if you refer to the plain “id”, the ordinary property name in your document, we need to look more, or if you meant to be meta id, or the document ID/Key, then the syntax is _id.