Fork me on GitHub
#datahike
<
2024-05-22
>
Olav Fosse13:05:22

I’d like to read out all the attributes out an entity. I tried the entity fn, but it threw “lookup ref attribute should be marked as :db/unique”. I’m using schema-on-read.

whilo18:05:21

Hey @U027R2XBQEP. This happened because you used a lookup ref, it is not specific for the entity fn. Can you send you code?

Olav Fosse13:05:53

How can I read all attributes of an entity?

whilo18:05:11

You could use the pull API, e.g. (d/pull eid [:*]) .

👍 1