couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Kocoloski <adam.kocolo...@gmail.com>
Subject Re: Document Updates
Date Fri, 14 Nov 2008 00:02:58 GMT
Partial updates are also a very popular discussion topic on the  
restful-json Google group:

http://groups.google.com/group/restful-json

But AFAIK no consensus has been reached yet.  Best, Adam

On Nov 13, 2008, at 6:37 PM, Noah Slater wrote:

> On Fri, Nov 14, 2008 at 09:09:03AM +1030, Antony Blakey wrote:
>> IMO the simplest thing that would work (ignoring representation)  
>> looks
>> something like this:
>>
>>  insert <json> in <jsonpath>
>>  insert <json> after <jsonpath>
>>  insert <json> before <jsonpath>
>>  delete <jsonpath>
>>  replace <jsonpath> with <json>
>>
>> where jsonpath is roughly as: http://goessner.net/articles/JsonPath/
>> without the executable expressions.
>
> Hmm, this seems pretty cool.
>
> I did some digging to see what else is out there:
>
> * http://intertwingly.net/blog/2008/02/21/APP-Level-Patch
> * http://blog.mozilla.com/rob-sayre/2008/02/15/restful-partial- 
> updates/
> * http://www.snellspace.com/wp/?p=895
> * http://lists.w3.org/Archives/Public/ietf-http-wg/2008JanMar/ 
> 0316.html
> * http://www.snellspace.com/wp/?p=902
>
> I think I agree that if this was to hit CouchDB it should be done  
> via the PATCH
> method, makes the most sense given the context.
>
> -- 
> Noah Slater, http://tumbolia.org/nslater


Mime
View raw message