My understanding of XTDB (Immutable Databases)

My understanding of XTDB (Immutable Databases)

Anyone done work with #XTDB? It looks awesome to me, and the few hours I got to spend playing with it last night only made me more convinced. But obviously a huge difference between trying out a DB for fun and having to maintain one in production. So I would love to hear from anyone with experience in the latter. Or in lieu of that, someone else who have used it for fun :)
```clojure
(xt/execute-tx
node
[[:update '{:table :usage
:bind [{:xt/id id} user]
:unify [(from :usage [{:xt/id id} user-id])
(where (nil? user-id))]
:set {:user-id user
:guild-id "98393139101827072"}}]])
```
I wanted to copy user->user-id in records that lack a user-id. Am #xtdb ing correctly? Also filling in guild-id with a static value.
Took me a while to get this right!
Me finally deciding I should try #datomic, going all the way through helloworld only to realize that the "datomic local" flavor doesn’t do stored functions.
(╯°□°)╯︵ ┻━┻
So to even try those I'd have to spin up a local postgres, deploy datomic transactor, and figure the pg schema.
#xtdb looks like fun again.
I was sick for the last ~ 10 days. Done almost nothing. 🤒 Feeling kinda recovered today. 🙏 ☀️
But had some shorts moments of clarity to play with #xtdb (#clojure) https://xtdb.com
I saw it ~ year ago when it was v1. Then they've released v2 with some breaking changes.
Summary: cool idea, but still raw as f.
The last drop for me was: they have an option to add metadata to the transaction but it's hidden from the public api and the PR is there for ~ 2 years
Switching to #datomic