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

[feature] Query Explain Plan #71

Merged
merged 2 commits into from
Nov 21, 2024
Merged

Conversation

TuSKan
Copy link
Contributor

@TuSKan TuSKan commented Nov 19, 2024

A feature to return plans of a Query, without executing it.

Analyzes the performance of a specified SOQL query, report, or list view.

sf query explain

@k-capehart
Copy link
Owner

@TuSKan This is a cool idea to add. Can you talk a bit about the use cases to using this in a client app?

@TuSKan
Copy link
Contributor Author

TuSKan commented Nov 19, 2024

Thank you for being open to discuss this PR.
My use case for this feature is to have a estimation of number of records and very costly queries before effectively request a query, to avoid or warning long time duration API calls.

@k-capehart k-capehart changed the base branch from main to query-explain November 21, 2024 14:15
@k-capehart
Copy link
Owner

Thanks for the explanation. Merging this into a feature branch now.

@k-capehart k-capehart merged commit 40e66b8 into k-capehart:query-explain Nov 21, 2024
1 check passed
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.

2 participants