dzql 0.5.19 → 0.5.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -925,6 +925,7 @@ BEGIN
|
|
|
925
925
|
|
|
926
926
|
|
|
927
927
|
-- Create event for the delete operation
|
|
928
|
+
-- Include l_record as data so _affected_documents can resolve which subscriptions to update
|
|
928
929
|
INSERT INTO dzql.events (
|
|
929
930
|
table_name,
|
|
930
931
|
op,
|
|
@@ -939,7 +940,7 @@ BEGIN
|
|
|
939
940
|
SELECT jsonb_object_agg(col, l_record ->> col)
|
|
940
941
|
FROM unnest(l_pk_cols) AS col
|
|
941
942
|
),
|
|
942
|
-
|
|
943
|
+
l_record,
|
|
943
944
|
p_user_id,
|
|
944
945
|
dzql.resolve_notification_paths(p_entity, l_record)
|
|
945
946
|
);
|