Re: couchhack

2012-12-28 Thread Benoit Chesneau
On Dec 22, 2012 3:39 PM, Robert Newson rnew...@apache.org wrote: I'm staying at the Hilton (Mohrenstr. 30) fwiw. B. Thanks! Will look at it . didn' chhose any yet. On 21 December 2012 18:48, Benoit Chesneau bchesn...@gmail.com wrote: Hi all, Has anyone already choosed its hotel for

Bad special document member: __VERSION__

2012-12-28 Thread Paulo Edgar Castro
Hi all, I just bumped into this error in the subject. Upon further digging as per commit d748a328aec166047c81bcaf3dec6b0a885a2088, keys starting with an underscore are not accepted as valid... DB=http://127.0.0.1:5984/mydb; curl -X PUT $DB curl -H Content-Type:application/json -d

Re: Bad special document member: __VERSION__

2012-12-28 Thread Robert Newson
All top-level properties beginning with _ are reserved for internal uses, but you can put any named property at a deeper level. On 28 December 2012 22:38, Paulo Edgar Castro pauloedgarcas...@gmail.com wrote: Hi all, I just bumped into this error in the subject. Upon further digging as per

Re: Bad special document member: __VERSION__

2012-12-28 Thread Stanley Iriele
Hey which couchdb version are you using?...is this 1.2? Or later?. I noticed that an underscore was used for reserved words so I just prepend some some special characters in its place to avoid that. On Dec 28, 2012 5:38 PM, Paulo Edgar Castro pauloedgarcas...@gmail.com wrote: Hi all, I just

Re: Bad special document member: __VERSION__

2012-12-28 Thread Keith Gable
Easier would be something like { data: your object here } though. On Dec 28, 2012 4:52 PM, Stanley Iriele siriele...@gmail.com wrote: Hey which couchdb version are you using?...is this 1.2? Or later?. I noticed that an underscore was used for reserved words so I just prepend some some special