-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Labels
questionFurther information is requestedFurther information is requested
Milestone
Description
- Bug Request
I can't seem to get the subqueries to "compose". Tried different combinations of sObject and sObjectRelationshipName but nothing seems to work.
Description
let x = {
"fields": [],
"sObject": "Account",
"subqueries": [
{
"fields": [
{
"text": "Id"
},
{
"text": "Name"
}
],
// "sObject": 'Contacts', //tried with different variations of these two params... nothing works:
"sObjectRelationshipName": "Contacts",
"subqueries": []
}
]
}
let s = composeQuery(x);AssertionError: expected 'SELECT FROM Account' to equal 'SELECT (SELECT Id, Name FROM Contacts) FROM Account'
+ expected - actual-SELECT FROM Account +SELECT (SELECT Id, Name FROM Contacts) FROM Account
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested