You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.
When I try to access number type key in map function, it stops to work.
For example.
constdocToCreate={0 : {data:"any"},// key type is a numberstringKey : "value"}...view: {map: function(doc,meta){varv=doc['0'];// FailsObject.values(doc);// FailsObject.entries(doc);// Fails Object.keys(doc);// Worksvarstr=doc.stringKey;// Worksvarstr=doc['stringKey'];// Works}.toString()}
The text was updated successfully, but these errors were encountered:
mswokk
changed the title
'map' function in view fails when try to access a number type key of object.
'map' function in DesignDoc View fails when try to access a number type key of object.
Aug 1, 2018
RN Couchbase lite : 0.6.1
OS : Android
When I try to access number type key in map function, it stops to work.
For example.
The text was updated successfully, but these errors were encountered: