From: charleswrayjr Date: Tue, 16 Sep 2025 20:13:43 +0000 (-0500) Subject: Adding things to exclude by default for toJson of all models. X-Git-Url: https://git.phasecustomsoft.com/static/git-favicon.png?a=commitdiff_plain;h=f609c173b205c4431c7d9059e784fd2818ce9432;p=phs-api.git Adding things to exclude by default for toJson of all models. --- diff --git a/src/models/model.js b/src/models/model.js index e1f77bb..2c6d48d 100755 --- a/src/models/model.js +++ b/src/models/model.js @@ -273,6 +273,10 @@ class Model { table, update_exclude_columns, instance, + default_order_by, + default_limit, + default_offset, + default_group_by, ...rest } = this; return rest;