Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wr/export junction objects #1092

Merged
merged 14 commits into from
Oct 21, 2024
Merged

Wr/export junction objects #1092

merged 14 commits into from
Oct 21, 2024

Conversation

WillieRuemmele
Copy link
Contributor

What does this PR do?

allows multiple --query to data:export:tree

What issues does this PR fix or reference?

@W-5346871@

@WillieRuemmele WillieRuemmele force-pushed the wr/exportJunctionObjects branch from b903176 to 80752d4 Compare October 17, 2024 17:43
@WillieRuemmele WillieRuemmele force-pushed the wr/exportJunctionObjects branch from 80752d4 to 12cb289 Compare October 17, 2024 18:00
@WillieRuemmele WillieRuemmele marked this pull request as ready for review October 17, 2024 18:52
@WillieRuemmele WillieRuemmele requested a review from a team as a code owner October 17, 2024 18:52
src/commands/data/export/tree.ts Outdated Show resolved Hide resolved
@shetzel
Copy link
Contributor

shetzel commented Oct 21, 2024

QA

  1. Linked the changes to my CLI
  2. imported data to my scratch org (Account, Contact, AccountContactRelation)
  3. exported data using multiple queries
  4. inspected the data files that were generated ✅

Data export command:

sf data:export:tree --plan --output-dir junction --query "select AccountId, ContactId from AccountContactRole" --query "Select Id, AccountId, FirstName, LastName from Contact" --query "select Id, ContactId, AccountId from AccountContactRelation where Account.Name != 'We Know Everybody'" --query "select ID, Name from Account where Name != 'Sample Account for Entitlements'"

@shetzel shetzel merged commit 676bd08 into main Oct 21, 2024
11 checks passed
@shetzel shetzel deleted the wr/exportJunctionObjects branch October 21, 2024 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants