datastax / astrapy

AstraPy is a Pythonic interface for DataStax Astra DB and the Data API
https://github.com/datastax/astrapy
Apache License 2.0
21 stars 20 forks source link

allow empty or null filter in delete_many call #282

Closed amorton closed 4 months ago

amorton commented 4 months ago

from here https://github.com/datastax/astrapy/blob/cb881ee4ed8b104002421a2665920789553821df/astrapy/collection.py#L2223

The server allows an empty filter to truncate the table, there is no reason for the client stop that.

it is also expected behaviour from other document databases.

Can we remove this check in the python, JS, and Java clients please.

hemidactylus commented 4 months ago

merged, ready to get out with 1.3