Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
DeleteByExampleResult
Each element in the DeleteByExampleResult array corresponds to the sObject[] array passed in the deleteByExample() call. For example, the object returned in the first index in the DeleteByExampleResult array matches the sObject specified in the first index of the sObject[] array.
A DeleteByExampleResult object has these properties.
| Name | Type | Description |
|---|---|---|
| entity | sObject | Details for the sObject that you attempted to delete. |
| rowCount | long | Indicates the number of rows that were deleted. |
| success | boolean | Indicates whether the deleteByExample() call succeeded (true) or not (false) for this object. |
| errors | Error[] | If an error occurred during the deleteByExample() call, an array of one or more Error objects providing the error information. |