mirror of
https://github.com/strapi/strapi.git
synced 2025-12-16 17:53:53 +00:00
Corresponding to change in strapi-hook-bookshelf
afterFetchAll and beforeFetchAll hook definition added
This commit is contained in:
parent
5821b8ac15
commit
c0688b6ace
@ -20,6 +20,14 @@ module.exports = {
|
|||||||
// After fetching a value.
|
// After fetching a value.
|
||||||
// Fired after a `fetch` operation.
|
// Fired after a `fetch` operation.
|
||||||
// afterFetch: async (model, response, options) => {},
|
// afterFetch: async (model, response, options) => {},
|
||||||
|
|
||||||
|
// Before fetching all values.
|
||||||
|
// Fired before a `fetchAll` operation.
|
||||||
|
// beforeFetchAll: async (model, columns, options) => {},
|
||||||
|
|
||||||
|
// After fetching all values.
|
||||||
|
// Fired after a `fetchAll` operation.
|
||||||
|
// afterFetchAll: async (model, response, options) => {},
|
||||||
|
|
||||||
// Before creating a value.
|
// Before creating a value.
|
||||||
// Fired before an `insert` query.
|
// Fired before an `insert` query.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user