Update only some keys in Enginio



  • I am developing an offline storage that syncs with enginio in the background for my application.

    I am storing the operations offline and when app goes online, it just executes the operations one by one via REST

    Is there some way in the REST API to update just a key or some keys of a document
    like

    @
    xhr.open("PUT",url,true);
    var data = {
    "personal.address": "new address"
    }
    xhr.setRequestHeader("Enginio-Backend-Id", _BackEndId)
    xhr.send(JSON.stringify(data));@

    which should change personal.address and leave the rest unchanged.

    I have found that update of one outermost field will leave all other outermost fields unchanged via REST API, but I need to update just a key, whether outer or nested.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.