Properties
_createMany
_createMany: Object = _createMany
_createParallel
_createParallel: Object = _createParallel
_createSingle
_createSingle: Object = _createSingle
_destroyMany
_destroyMany: Object = _destroyMany
_destroyParallel
_destroyParallel: Object = _destroyParallel
_destroySingle
_destroySingle: Object = _destroySingle
_ensureVersion
_ensureVersion: ((majorVersion) => boolean) = _ensureVersion
Type declaration
- (majorVersion): boolean
Returns boolean
_retrieveMany
_retrieveMany: Object = _retrieveMany
_retrieveParallel
_retrieveParallel: Object = _retrieveParallel
_retrieveSingle
_retrieveSingle: Object = _retrieveSingle
_updateMany
_updateMany: Object = _updateMany
_updateParallel
_updateParallel: Object = _updateParallel
_updateSingle
_updateSingle: Object = _updateSingle
query
query: (<T>(soql,
options?) => Query<S, Extract<keyof S["SObjects"], string>, T, "QueryResult">) = query Type declaration
- <T>(soql, options?): Query<S, Extract<keyof S["SObjects"], string>, T, "QueryResult">
Returns Query<S, Extract<keyof S["SObjects"], string>, T, "QueryResult">
queryMore
queryMore: ((locator,
options?) => Query<S, Extract<keyof S["SObjects"], string>, Record, "QueryResult">) = queryMore Type declaration
- (locator, options?): Query<S, Extract<keyof S["SObjects"], string>, Record, "QueryResult">
Returns Query<S, Extract<keyof S["SObjects"], string>, Record, "QueryResult">
retrieve
retrieve: { <N>(type,
ids,
options?): Promise<Record>; <N>(type,
ids,
options?): Promise<Record[]>; <N>(type,
ids,
options?): Promise<Record | Record[]>; } = retrieve sobject
sobject: (<N>(type) => SObject<S, N, Extract<keyof S["SObjects"][N]["Fields"], string>, SObjectRecord<S, N, "*", Record, {}>, Partial<SObjectRecord<S, N, "*", Record, {}>>, SObjectUpdateRecord<S, N>>) = sobject Type declaration
- <N>(type): SObject<S, N, Extract<keyof S["SObjects"][N]["Fields"], string>, SObjectRecord<S, N, "*", Record, {}>, Partial<SObjectRecord<S, N, "*", Record, {}>>, SObjectUpdateRecord<S, N>>
sobjects
sobjects: { [N in string]?: SObject<S, N, Extract<keyof S["SObjects"][N]["Fields"], string>, SObjectRecord<S, N, "*", Record, {}>, Partial<SObjectRecord<S, N, "*", Record, {}>>, SObjectUpdateRecord<S, N>>} = {} upsert
upsert: { <N, InputRecord, FieldNames>(type,
records,
extIdField,
options?): Promise<UpsertResult[]>; <N, InputRecord, FieldNames>(type,
record,
extIdField,
options?): Promise<UpsertResult>; <N, InputRecord, FieldNames>(type,
records,
extIdField,
options?): Promise<UpsertResult | UpsertResult[]>; } = upsert Type declaration
- <N, InputRecord, FieldNames>(type, records, extIdField, options?): Promise<UpsertResult[]>
- <N, InputRecord, FieldNames>(type, record, extIdField, options?): Promise<UpsertResult>
- <N, InputRecord, FieldNames>(type, records, extIdField, options?): Promise<UpsertResult | UpsertResult[]>
API class for Tooling API call