couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Σπύρος Σβορώνος <spiros...@hotmail.com>
Subject Question in viewings
Date Mon, 16 Jun 2014 10:11:50 GMT
Hi everyone,
I am quite new and i have a relatively simple question for which i do not seem to find the
answer. When i try to view a field that has a name which is a number (e.g. A field named "123"),
if i write something like:

function(doc)
{
If (doc.123)
{ list of args}
}

I get an error saying that the expression does not eval to a function. Does anybody know how
can i view a field that has this structure?

Thanks in advance,
Spiros
Mime
View raw message