couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zachary Zolton <zachary.zol...@gmail.com>
Subject Re: reference colon(:) in field names
Date Wed, 26 Aug 2009 16:31:59 GMT
It's just dereferencing a JavaScript member name:

doc["spec:package_name"]

On Wed, Aug 26, 2009 at 11:20 AM, Michael
McCaffrey<mmccaffrey@ittvis.com> wrote:
> How does one reference a field name in a document that has a colon in
> it?
>
> For instance, document has a field named spec:package_name
>
> Putting doc.spec:package_name will not compile in a view function.
>
> Thanks
>

Mime
View raw message