Create/Update/Delete
Last updated
Was this helpful?
Last updated
Was this helpful?
When operating on single records, DML operation can be preformed via an instance method.
Use to perform updates of 200 records at a time!
insert(opts?)
KEY
TYPE
DESCRIPTION
refresh
boolean
if true
, ALL direct properties of object will be retrieved AFTER the operation complete. This is done via the Composite API so no additional requests are consumed. Defaults to false
update(opts?)
By default, ONLY fields you explicitly have modified will be sent to Salesforce!
KEY
TYPE
DESCRIPTION
refresh
boolean
if true
, ALL direct properties of object will be retrieved AFTER the operation complete. This is done via the Composite API so no additional requests are consumed. Defaults to false
sendAllFields
boolean
Sends ALL fields to Salesforce, regardless of if the property has been modified. Defaults to false
delete()