Fork me on GitHub
#xtdb
<
2019-09-03
>
jonpither10:09:31

I've streamlined the docs - any feedback appreciated. https://juxt.pro/crux/docs/index.html

mitchelkuijpers11:09:05

Nice update! I saw one type though: Kakfa Nodes -> Kafka Nodes

🙂 4
jonpither10:09:52

We're looking to pull Crux out of the JUXT website and give it a dedicated site

parrot 12
purrgrammer13:09:30

are references between documents supported in Crux? IIUC it doesn't enforce schema nor referential integrity, and is designed as a document-oriented database so you are expected to store collections of documents instead of a graph of entities, is that correct?

refset09:09:58

Hi @UJDDXBY80! References are dynamically resolved during the query execution, which means there's no need to declare upfront which attributes are reference types. As long as the value is a valid :crux.db/id then the query will navigate the relationship just fine. You can even store those IDs in a vector or set (which is effectively like cardinality)

refset09:09:03

Documents can be thought of as versions of entities

refset09:09:28

Also, Crux doesn't have any native "collections" concept (unlike most other document databases). All documents (/entities!) live in a single ID space.

purrgrammer10:09:19

great, thanks for the clarification!

👍 4