From 5cb18f5525249b5760c224056b4b9bc78c9b8789 Mon Sep 17 00:00:00 2001 From: Vincent FINET Date: Fri, 26 Jul 2024 18:02:56 +0200 Subject: [PATCH] fix: EntityDefinition does not support QueryMore --- .../orgcheckApp/api/core/orgcheck-api-sfconnectionmanager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/force-app/main/default/lwc/orgcheckApp/api/core/orgcheck-api-sfconnectionmanager.js b/force-app/main/default/lwc/orgcheckApp/api/core/orgcheck-api-sfconnectionmanager.js index c15f0ed..0c14713 100644 --- a/force-app/main/default/lwc/orgcheckApp/api/core/orgcheck-api-sfconnectionmanager.js +++ b/force-app/main/default/lwc/orgcheckApp/api/core/orgcheck-api-sfconnectionmanager.js @@ -302,7 +302,7 @@ export class OrgCheckSalesforceManager { } localLogger?.log(`Statistics of ${queries.length} SOQL ${queries.length>1?'queries':'query'}: ${nbQueryMore} queryMore done, ${nbQueriesPending} pending, ${nbQueriesDone} done, ${nbQueriesByPassed} by-passed, ${nbQueriesError} in error...`); } - conn.query(query.string, recursive_query); + conn.query(query.string, { autoFetch: query.queryMore === true ? true : false }, recursive_query); }); })); }