mirror of
https://github.com/strapi/strapi.git
synced 2026-06-02 16:27:47 +00:00
40413d376a
* Use query builder init in deleteMany * test(api): deleteMany respects filters combined with relation * fix(database): pick filter params in deleteMany init Apply _q, where, and filters through init like count instead of where-only or full findMany params, avoiding populate/pagination surprises. Expand API and unit tests for relation filters, count parity, and ignored param keys. * chore(database): clarify deleteMany relation cleanup TODO Replace the vague bulk-query TODO with a concrete note that deleteMany still skips per-row deleteRelations unlike single delete(). --------- Co-authored-by: Ben Irvin <ben.irvin@strapi.io> Co-authored-by: Ben Irvin <ben@innerdvations.com>