Skip to content

Conversation

@lveillard
Copy link
Member

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

Co-authored-by: loic <loic@blitznocode.com>
@cursor
Copy link

cursor bot commented Aug 13, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants