]> PHS Git Server - phs-api.git/commitdiff
Adding things to exclude by default for toJson of all models.
authorcharleswrayjr <charleswrayjr@gmail.com>
Tue, 16 Sep 2025 20:13:43 +0000 (15:13 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Tue, 16 Sep 2025 20:13:43 +0000 (15:13 -0500)
src/models/model.js

index e1f77bbf81eae126d9e3da94689de6d2e231458c..2c6d48d9b04e3a5734ab853744eb7284a5f93c57 100755 (executable)
@@ -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;