upper / db

Data Access Layer (DAL) for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.
https://upper.io/
MIT License
3.54k stars 235 forks source link

Cockroach delete limit #697

Closed jgirtakovskis closed 1 year ago

jgirtakovskis commented 1 year ago

Added Limit support to Delete template for CockroachDB - it is very sensitive to bulk delete operations and care must be taken to not bring the node down: https://www.cockroachlabs.com/docs/stable/bulk-delete-data

CC: @xiam maybe you could let this in so others could benefit from the fix? Thanks!

readams commented 1 year ago

Is anyone available to review this PR? This would be nice to include support for.

xiam commented 1 year ago

Great finding! Thanks for your patience