update

open fun update(soupName: String, soupElt: JSONObject, soupEntryId: Long): JSONObject

Update (and commits) Note: Passed soupElt is modified (last modified date and soup entry id fields)

Return

soupElt updated or null if update failed

Parameters

soupName
soupElt
soupEntryId

Throws


open fun update(soupName: String, soupElt: JSONObject, soupEntryId: Long, handleTx: Boolean): JSONObject

Update Note: Passed soupElt is modified (last modified date and soup entry id fields)

Return

Parameters

soupName
soupElt
soupEntryId
handleTx

Throws