diff --git a/backend/src/app/db/sql.clj b/backend/src/app/db/sql.clj index 81ce636c5..42641039e 100644 --- a/backend/src/app/db/sql.clj +++ b/backend/src/app/db/sql.clj @@ -47,6 +47,7 @@ ([table where-params opts] (let [opts (merge default-opts opts) opts (cond-> opts + (::order-by opts) (assoc :order-by (::order-by opts)) (::columns opts) (assoc :columns (::columns opts)) (::for-update opts) (assoc :suffix "FOR UPDATE") (::for-share opts) (assoc :suffix "FOR SHARE"))]