0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/models/base/plugins
Simon Backx b9e520c657
Added bulk destroy options (#14870)
refs https://ghost.slack.com/archives/C02G9E68C/p1652980792270029

- When bulk unsubscribing members, the number of deleted newsletter relations are returned instead of the number of members with newsletters that were cleared
- This commit adds options to the bulk destroy methods.
- You can pass the column on which you want to delete rows in a bulk destroy operation via the `column` option.

Required for https://github.com/TryGhost/Members/pull/400
2022-05-20 12:24:36 +02:00
..
actions.js
bulk-operations.js Added bulk destroy options (#14870) 2022-05-20 12:24:36 +02:00
crud.js Added support for 'FOR UPDATE' lock (#14433) 2022-04-08 12:52:33 +01:00
data-manipulation.js Fixed unparsed booleans for "boolean" type columns 2022-01-20 17:00:16 +02:00
events.js Updated signature of Bookshelf model listeners 2021-09-10 16:59:11 +01:00
filtered-collection.js
generate-slug.js replaced deprecated String.prototype.substr() (#14367) 2022-04-28 11:49:12 +01:00
overrides.js 🐛 Fixed URLs not being correctly transformed during insert operations (#13618) 2021-10-20 15:22:46 +01:00
raw-knex.js Added "contains" operator support to ?filter= query params (#14286) 2022-03-09 13:02:17 +00:00
sanitize.js
user-type.js