feat: refs #8239 Comment
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Guillermo Bonet 2025-01-09 13:34:22 +01:00
parent 8a9e3746f2
commit 3fd398d158
1 changed files with 2 additions and 0 deletions

View File

@ -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;