Is your feature request related to a problem? Please describe.
Extracting data with the sfdx force:data:tree:export only allows to extract one level of nested elements. I think it would be great to extract deeply nested plans like for example: Account->Case->Task
I managed to manually extract the data in two steps, manually edit the data plan, and insert them using the sfdx force:data:tree:import -p
Describe the solution you'd like
Ability to, for example, retrieve a list of queries and make the plan automatically for example:
$ sfdx force:data:tree:export -p -q "SELECT Id, Name (SELECT Origin FROM Cases) FROM Account"
"SELECT Id, (SELECT Id FROM Tasks), (SELECT Id FROM Events) FROM Case"
Describe alternatives you've considered
NA
Additional context
This is the workaround I did: https://salesforce.stackexchange.com/questions/240042/sfdx-forcedatatreeexport-beyond-1-level-deep/255711#255711
Is your feature request related to a problem? Please describe.
Extracting data with the
sfdx force:data:tree:exportonly allows to extract one level of nested elements. I think it would be great to extract deeply nested plans like for example:Account->Case->TaskI managed to manually extract the data in two steps, manually edit the data plan, and insert them using the
sfdx force:data:tree:import -pDescribe the solution you'd like
Ability to, for example, retrieve a list of queries and make the plan automatically for example:
Describe alternatives you've considered
NA
Additional context
This is the workaround I did: https://salesforce.stackexchange.com/questions/240042/sfdx-forcedatatreeexport-beyond-1-level-deep/255711#255711