jsforce icon indicating copy to clipboard operation
jsforce copied to clipboard

CRUD: Upsert Documentation

Open cedricsarigumba opened this issue 6 years ago • 1 comments

Does CRUD:upsert supports rollback and bulk upsert? It seems that the documentation is lacking in the site (https://jsforce.github.io/document/#upsert).

Unlike other CRUD calls, upsert with allOrNone option will not

Does this mean that JSForce CRUD:upsert does not support rollback?

cedricsarigumba avatar Jul 30 '19 07:07 cedricsarigumba

Also, it seems that the SOAPI API documentation is not included in the jsforce documentation, does someone knows where we can find the SOAP documentation? 🤔

cedricsarigumba avatar Jul 30 '19 08:07 cedricsarigumba

triaging old issues...

Does this mean that JSForce CRUD:upsert does not support rollback?

correct, you should check all record results were successful.

about upsert and bulk support:

so far only update and delete support bulk mode https://jsforce.github.io/document/#update-delete-queried-records

I'm not sure why only those support bulk mode (it's been that way since v1, v3 added support for these to use either bulk or bulk v2 API). If anyone is interested in conn.sobject().upsert please post here with your use-cases: https://github.com/jsforce/jsforce/discussions/categories/ideas

cristiand391 avatar May 16 '24 14:05 cristiand391