upsert

open fun upsert(soupName: String, soupElt: JSONObject, externalIdPath: String): JSONObject

Upsert (and commits)

Return

soupElt upserted or null if upsert failed

Parameters

soupName
soupElt
externalIdPath

Throws


open fun upsert(soupName: String, soupElt: JSONObject): JSONObject

Upsert (and commits) expecting _soupEntryId in soupElt for updates

Return

Parameters

soupName
soupElt

Throws


open fun upsert(soupName: String, soupElt: JSONObject, externalIdPath: String, handleTx: Boolean): JSONObject

Upsert

Return

Parameters

soupName
soupElt
externalIdPath
handleTx

Throws