Skip to content
This repository was archived by the owner on Nov 21, 2026. It is now read-only.

docs: call save() after the last change to a record - #103

Merged
tae898 merged 1 commit into
mainfrom
docs-save-after-last-change
Oct 3, 2026
Merged

tae898 merged 1 commit into
mainfrom
docs-save-after-last-change

Conversation

@tae898

@tae898 tae898 commented Oct 3, 2026

Copy link
Copy Markdown

From Luca's review note on ArcadeData#8989: changing a record after its last save() and before the commit is unsupported (indexes follow the last save()). Checked through the bindings on the current engine: d.set("k", 1); d.save(); d.set("k", 2) in one transaction commits k = 1, and an index on k agrees. The record docs now say to save after the last change, beside the existing note on saving once.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Lj5isEaoaGCeaZe5nNoWX4

Luca's review note on ArcadeData#8989: changing a record after its
last save() and before the commit is unsupported, since indexes follow the
last save(). Checked through the bindings on the current engine: in one
transaction, set k=1, save, set k=2 (not saved again) commits k=1, and an
index on k agrees, so the later change is simply not written. The record
docs now say so beside the existing note on saving once.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01Lj5isEaoaGCeaZe5nNoWX4
@tae898
tae898 merged commit 1e4fb67 into main Oct 3, 2026
48 checks passed
@tae898
tae898 deleted the docs-save-after-last-change branch October 3, 2026 06:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant