aboutsummaryrefslogtreecommitdiff
path: root/TODO.md
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2026-04-18 19:10:15 +0200
committerStefan Majewsky <majewsky@gmx.net>2026-04-18 19:10:15 +0200
commit6a089f6d65da3ef5391314e1ab5907083bf577fc (patch)
tree35649d0df1564bf282d5eb2653907c2492e0153f /TODO.md
parent9b49cb3604dc13e75f8910d8191069a155d60f6b (diff)
downloadgo-oblast-6a089f6d65da3ef5391314e1ab5907083bf577fc.tar.gz
notes from trying Oblast in https://github.com/sapcc/castellum
Diffstat (limited to 'TODO.md')
-rw-r--r--TODO.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/TODO.md b/TODO.md
new file mode 100644
index 0000000..57b81a1
--- /dev/null
+++ b/TODO.md
@@ -0,0 +1,2 @@
+- TODO: Store.Insert should take its arguments as pointers; the risk of continuing to use the un-updated records is too great
+- TODO: consider adding an upsert, e.g. `func (Store[R]) InsertOrUpdate(db Handle, records ...*R) error`, that chooses based on whether any auto fields is non-zero