feat: adding delete_by_filter and update_by_filter#2631
Merged
Conversation
sjrl
reviewed
Dec 30, 2025
sjrl
reviewed
Dec 30, 2025
sjrl
approved these changes
Dec 30, 2025
Contributor
sjrl
left a comment
There was a problem hiding this comment.
Looks good! I'm not super familiar with Astra so I can't comment too much on the operations themselves but from what I can tell all good!
And I see better now that the astra_client is a convenience class that doesn't follow any sort of strict protocol or structure so feel free to disregard my comments on naming there.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issues
update_by_filter()anddelete_by_filter()operations toAstraDocumentStore#2329Proposed Changes:
update_by_filter: updates documents matching filters using dot notation for nested meta fields (e.g., meta.status). New fields are created if missing via Astra's $set operator.delete_by_filter: deletes documents matching the provided filters.update_manyto AstraClient: Supports bulk updates with proper return value handling.How did you test it?
Checklist
fix:,feat:,build:,chore:,ci:,docs:,style:,refactor:,perf:,test:.