blitz-orm icon indicating copy to clipboard operation
blitz-orm copied to clipboard

Improve borm mutation output completeness

Open lveillard opened this issue 5 months ago • 1 comments

Enhance SurrealDB mutation outputs to provide complete deltas, impacted IDs, and deleted/unlinked values.

Previously, BORM's SurrealDB mutation outputs lacked complete information, especially for unlink operations, event-driven changes, and full data for deleted items. This PR ensures all create, update, and delete operations, including those on edges and reference fields, generate comprehensive delta records with before and after states. It also makes deleted/unlinked data visible by using the before state when after is absent, providing full impacted IDs and supporting $fields for deletions.


Open in Cursor Open in Web

lveillard avatar Aug 13 '25 22:08 lveillard

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch. Learn more about Cursor Agents

cursor[bot] avatar Aug 13 '25 22:08 cursor[bot]