diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2026-04-18 19:10:15 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2026-04-18 19:10:15 +0200 |
| commit | 6a089f6d65da3ef5391314e1ab5907083bf577fc (patch) | |
| tree | 35649d0df1564bf282d5eb2653907c2492e0153f | |
| parent | 9b49cb3604dc13e75f8910d8191069a155d60f6b (diff) | |
| download | go-oblast-6a089f6d65da3ef5391314e1ab5907083bf577fc.tar.gz | |
notes from trying Oblast in https://github.com/sapcc/castellum
| -rw-r--r-- | TODO.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |
