Skip to content

Composite Operations #14

@k-capehart

Description

@k-capehart

Use Composite to allow users to group dependent calls into a single request

Examples

  • Create record with child records in same request
  • Create record and retrieve record with ID in same request

Use Composite Batch to allow users to group independent requests together into a single request

Examples

  • Perform an insert and then query in same request

Considerations

  • There is still a limit of 25 subrequests (5 if they are SObject Collections)
  • Use composite calls to optimize the collections functions
    • We could group batches together into composite requests
  • I separated the logic between Collections and Composite functions because: with Composite you can insert a large amount of data with the AllOrNone parameter, while Batch and Collections have no limit to the number of batches but AllOrNone won't persist across the batches

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions