From 97b0828b07544bc3778b6134c0060b8039fbd5de Mon Sep 17 00:00:00 2001 From: wenqibu <153253179+wenqibu@users.noreply.github.com> Date: Mon, 13 May 2024 14:11:47 +0800 Subject: [PATCH] Add query property for Salesforce V2 (#28704) * Add query property for Salesforce V2 * Change deprecating description * Add type description --------- Co-authored-by: madhura <56606095+madhura-np@users.noreply.github.com> --- .../stable/2018-06-01/entityTypes/Pipeline.json | 14 ++++++++++++-- .../stable/2020-12-01/entityTypes/Pipeline.json | 12 ++++++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json index 0a0763182867..14cbdee37961 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json @@ -9100,7 +9100,12 @@ "SOQLQuery": { "type": "object", "x-ms-format": "dfe-string", - "description": "Database query. Type: string (or Expression with resultType string)." + "description": "Deprecating, please use 'query' property instead. Type: string (or Expression with resultType string)." + }, + "query": { + "type": "object", + "x-ms-format": "dfe-string", + "description": "You can only use Salesforce Object Query Language (SOQL) query with limitations. For SOQL limitations, see this article: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/queries.htm#SOQL%20Considerations. If query is not specified, all the data of the Salesforce object specified in ObjectApiName/reportId in dataset will be retrieved. Type: string (or Expression with resultType string)." }, "includeDeletedObjects": { "description": "This property control whether query result contains Deleted objects. Default is false. Type: boolean (or Expression with resultType boolean).", @@ -9121,7 +9126,12 @@ "SOQLQuery": { "type": "object", "x-ms-format": "dfe-string", - "description": "Database query. Type: string (or Expression with resultType string)." + "description": "Deprecating, please use 'query' property instead. Type: string (or Expression with resultType string)." + }, + "query": { + "type": "object", + "x-ms-format": "dfe-string", + "description": "You can only use Salesforce Object Query Language (SOQL) query with limitations. For SOQL limitations, see this article: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/queries.htm#SOQL%20Considerations. If query is not specified, all the data of the Salesforce object specified in ObjectApiName/reportId in dataset will be retrieved. Type: string (or Expression with resultType string)." }, "includeDeletedObjects": { "description": "This property control whether query result contains Deleted objects. Default is false. Type: boolean (or Expression with resultType boolean).", diff --git a/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/entityTypes/Pipeline.json b/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/entityTypes/Pipeline.json index 9ec79b72c852..c78a6728d852 100644 --- a/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/entityTypes/Pipeline.json +++ b/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/entityTypes/Pipeline.json @@ -8016,7 +8016,11 @@ "properties": { "SOQLQuery": { "type": "object", - "description": "Database query. Type: string (or Expression with resultType string)." + "description": "Deprecating, please use 'query' property instead. Type: string (or Expression with resultType string)." + }, + "query": { + "type": "object", + "description": "You can only use Salesforce Object Query Language (SOQL) query with limitations. For SOQL limitations, see this article: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/queries.htm#SOQL%20Considerations. If query is not specified, all the data of the Salesforce object specified in ObjectApiName/reportId in dataset will be retrieved. Type: string (or Expression with resultType string)." }, "includeDeletedObjects": { "description": "This property control whether query result contains Deleted objects. Default is false. Type: boolean (or Expression with resultType boolean).", @@ -8035,7 +8039,11 @@ "properties": { "SOQLQuery": { "type": "object", - "description": "Database query. Type: string (or Expression with resultType string)." + "description": "Deprecating, please use 'query' property instead. Type: string (or Expression with resultType string)." + }, + "query": { + "type": "object", + "description": "You can only use Salesforce Object Query Language (SOQL) query with limitations. For SOQL limitations, see this article: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/queries.htm#SOQL%20Considerations. If query is not specified, all the data of the Salesforce object specified in ObjectApiName/reportId in dataset will be retrieved. Type: string (or Expression with resultType string)." }, "includeDeletedObjects": { "description": "This property control whether query result contains Deleted objects. Default is false. Type: boolean (or Expression with resultType boolean).",