You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<PackageReleaseNotes>Release notes and documentation can be found on the project site: https://github.com/anthonyreilly/NetCoreForce</PackageReleaseNotes>
Nested queries are not fully supported - the subquery results will not be complete if they exceed the batch size as the NextRecordsUrl in the subquery results is not being acted upon. Instead use the relationship syntax in the example above.
46
+
While you can use a SOQL query such as
47
+
```SELECT * FROM Case```
48
+
this will be inefficient as it will retrieve all fields for the object. It is highly recommended to only query those fields you will need, e.g.
49
+
```SELECT Id, FirstName, LastName, Email, Account.Id, Account.Name FROM Contact```
50
+
51
+
[Nested queries](https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_relationships_query_using.htm) are not fully supported - the subquery results will not be complete if they exceed the batch size as the NextRecordsUrl in the subquery results is not being acted upon. Instead use the relationship syntax in the examples above.
49
52
```
50
53
// *NOT* fully supported
51
-
"SELECT Id,CaseNumber, (Select Contact.Name from Account) FROM Case"
54
+
SELECT Name, (SELECT Email FROM Contacts) FROM Account
55
+
// Instead use:
56
+
SELECT Email, Account.Name FROM Contact
52
57
```
58
+
59
+
For more on SOQL queries see the Salesforce Documentation: [Salesforce Object Query Language (SOQL)](https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql.htm)
0 commit comments