UpsertContext Class

An instance of UpsertContext is passed to the upsertRows() method on your Datasource.Connection class. This class provides context information about the upsert request to the implementor of upsertRows().

Namespace

DataSource

Usage

The Apex Connector Framework creates the contet for operations. Context is comprised of parameters about the operations, which other methods can use. An instance of the UpsertContext class packages these parameters into an object that can be used when an upsertRows() operation is initiated.

UpsertContext Properties

The following are properties for UpsertContext.

rows

List of rows corresponding to the external object records to upsert.

Signature

public List<Map<String,ANY>> rows {get; set;}

Property Value

Type: List<Map<String,Object>>

tableSelected

The name of the table to upsert rows in.

Signature

public String tableSelected {get; set;}

Property Value

Type: String