couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mete <>
Subject problem with document keys starting with numbers
Date Mon, 02 Jan 2012 21:08:15 GMT

Sorry for asking this fundamental thing but i am having some issues with
document keys that start with numbers, For instance when i create a view
like this:

function(doc) {
emit(doc.x, {'id','x':doc.x})

If x is "x" or "x123" etc its fine but

if x is "2v2" or "5abcd" etc.. i get the "Expression does not eval to a
function." error. Any ideas?

thanks in advance


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message