This commit is contained in:
parent
8a9e3746f2
commit
3fd398d158
|
@ -28,6 +28,8 @@ module.exports = function(Self) {
|
||||||
});
|
});
|
||||||
|
|
||||||
this.beforeRemote('**', async ctx => {
|
this.beforeRemote('**', async ctx => {
|
||||||
|
// Aquí va el código, pero... ¿Como identificar los cambios y si es INSERT, UPDATE O DELETE?
|
||||||
|
|
||||||
if (!this.hasFilter(ctx)) return;
|
if (!this.hasFilter(ctx)) return;
|
||||||
|
|
||||||
const defaultLimit = this.app.orm.selectLimit;
|
const defaultLimit = this.app.orm.selectLimit;
|
||||||
|
|
Loading…
Reference in New Issue