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

Add collapse #841

Merged
merged 1 commit into from
Mar 17, 2022
Merged

Add collapse #841

merged 1 commit into from
Mar 17, 2022

Conversation

jkostolansky
Copy link
Contributor

Add the collapse option to the request.

PlacesIndex.collapse(field: :name)
# => <PlacesIndex::Query {..., :body=>{:collapse=>{"field"=>:name}}}>

Copy link
Contributor

@rabotyaga rabotyaga left a comment

Choose a reason for hiding this comment

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

Hey @jkostolansky 👋 !
Thank you very much!

CHANGELOG.md Show resolved Hide resolved
@rabotyaga rabotyaga merged commit fb8e288 into toptal:master Mar 17, 2022
cyucelen pushed a commit to cyucelen/chewy that referenced this pull request Jan 28, 2023
cyucelen pushed a commit to cyucelen/chewy that referenced this pull request Jan 28, 2023
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