Fork me on GitHub
#xtdb
<
2023-11-30
>
Olav Fosse07:11:28

Hello everyone Given entities like

{:a/b {:b/d :id-of-some-other-entity}}
How can I query such that the path [:a/b :b/d] is replaced with the entity of the given id? I tried pull syntax, but i could only get it to work for replacing top-level id keys.

richiardiandrea21:11:18

hi there, has anybody ever needed a "standalone XTDB UI" for connecting to a remote DB? I know it's doable but I was wondering if somebody has already done it and I can take a look (wink wink) at the code 😄

refset22:11:34

Hey @U0C8489U6 as in, over HTTP? (and not nrepl)

richiardiandrea22:11:08

well we were kind of wondering if we could just point to postgres 😄

refset22:11:45

this is the closest I've seen to a thin client UX over http https://github.com/elh/xtbb

❤️ 1
refset22:11:06

if you just want to point something at Postgres, you could use https://github.com/tatut/xtdb-inspector it will have to re-index locally, of course (or maybe you can bootstrap from a checkpoint too)

richiardiandrea22:11:52

The former relies on the endpoint (which we don't have exposed in prod) https://github.com/elh/xtbb/blob/main/xtbb.clj#L21 I'll check the second by thanks!

👌 1