incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From francisco treacy <francisco.tre...@gmail.com>
Subject underscores in json keys
Date Wed, 26 Aug 2009 14:33:39 GMT
Hi,

I'm storing documents like this in CouchDB 0.9

{"_id":"_design/surf","_rev":"1-455975032","_type": "mytype" }

without any problem.

However apparently it does not work on CouchDB 0.9.1:

Response while PUTting:  HTTP 500:
{"error":"doc_validation","reason":"Bad special document member:
_type"}

Could you tell me what the policy is for underscored keys, is it
allowed or not? Has this changed between releases?
I would like to keep my Scala CouchDB client up-to-date.

Thank you,

Francisco

Mime
View raw message