Skip to content

fix: Explain queries should always return as an array of results#1375

Open
cbaker6 wants to merge 4 commits intoparse-community:alphafrom
cbaker6:explain
Open

fix: Explain queries should always return as an array of results#1375
cbaker6 wants to merge 4 commits intoparse-community:alphafrom
cbaker6:explain

Conversation

@cbaker6
Copy link

@cbaker6 cbaker6 commented Jun 20, 2021

Requires a server fix parse-community/parse-server#7440. The discussion parse-community/parse-server#7442 has more information.

  • Add support for an array of objects when using find by updating testcases. This falls inline with the rest of query results
  • Adds support to explain a first query which was previously not available in the JS SDK

@cbaker6 cbaker6 changed the title Fix: explain should return as an array of results fix: explain queries should always return as an array of results Jan 5, 2022
@parse-github-assistant
Copy link

parse-github-assistant bot commented Jan 5, 2022

Thanks for opening this pull request!

  • ❌ Please link an issue that describes the reason for this pull request, otherwise your pull request will be closed. Make sure to write it as Closes: #123 in the PR description, so I can recognize it.

Copy link
Member

@mtrezza mtrezza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mergeability depends on discussion parse-community/parse-server#7440 (comment).

@parse-github-assistant
Copy link

I will reformat the title to use the proper commit message syntax.

@parse-github-assistant parse-github-assistant bot changed the title fix: explain queries should always return as an array of results fix: Explain queries should always return as an array of results Jun 24, 2023
@dplewis
Copy link
Member

dplewis commented Jan 7, 2026

@mtrezza Any news on this? I'd recommend we document either explain doesn't support first / get queries or that if explain is used an array is return here.

@mtrezza
Copy link
Member

mtrezza commented Jan 10, 2026

Whatever causes the least breaking changes while providing the most functional support.

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