Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds warning about Bulk API and mixed keys #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/partials/document/bulk.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ so not practical for large set of records. We can use bulk API interface to load
Similar to Salesforce Bulk API, first create bulk job by `Bulk#createJob(sobjectType, operation)`
through `bulk` API object in connection object.

**Warning** that when using the Bulk API, **all objects must have alike keys**. _Additional keys added to objects after the first are discarded_, so it may be best to review and normalize your objects' keys.

Next, create a new batch in the job, by calling `Bulk-Job#createBatch()` through the job object created previously.

```javascript
Expand Down