You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Utility find_and_delete_entries method to delete items based on a metadata query.
Note: CQL does not support something like DELETE FROM table WHERE metadata['k']='v', i.e. SAI-based and no partition key supplied (and for good reasons).
But for some usages we want to expose such possibility in the metadata mixin of cassio.
Remark by Phil:
I would not be super-concerned about the Cassandra impact tbh…it will simply tombstone the record and compact out after gc_grace. I can’t imagine many vectors will be used in anti-patterns like message queues (rapid create/delete of a record would be a concern).
The text was updated successfully, but these errors were encountered:
Utility
find_and_delete_entries
method to delete items based on a metadata query.Note: CQL does not support something like
DELETE FROM table WHERE metadata['k']='v'
, i.e. SAI-based and no partition key supplied (and for good reasons).But for some usages we want to expose such possibility in the metadata mixin of cassio.
Remark by Phil:
The text was updated successfully, but these errors were encountered: