couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Shorin (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (COUCHDB-1217) Get _rev of the newly created document in _update function
Date Mon, 01 Jul 2013 10:04:20 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-1217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexander Shorin closed COUCHDB-1217.
-------------------------------------

    Resolution: Not A Problem

This feature is available since 1.0 release via HTTP header X-Couch-Update-NewRev in response
of _update handler call. Implemented by [ef7ab7e|https://git-wip-us.apache.org/repos/asf?p=couchdb.git;a=commit;h=ef7ab7e4e414d53fe5c12993d29b193ed3cdfd42]
commit.
                
> Get _rev of the newly created document in _update function
> ----------------------------------------------------------
>
>                 Key: COUCHDB-1217
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1217
>             Project: CouchDB
>          Issue Type: New Feature
>            Reporter: Johnny Weng Luu
>
> I think it would be good to allow the _update function returning the created/update document
including the _rev field to the client.
> In this way the client doesn't have to make another HTTP request to get it to be able
to update the document.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message