Welcome! Please see the About page for a little more info on how this works.

0 votes
in On-Prem by

I'm using datomic.api/entid to resolve a lookup ref to an entity ID, like
$ (entid db [:user/id "test@test.com"]) 17592186045432
This works fine, but a colleague pointed out this is not a documented behaviour.
>Usage: (entid db ident)
>Returns the entity id associated with a symbolic keyword, or the id
itself if passed.

Is this a gap in documentation, or is this behaviour accidental and not recommended to rely on?

Please log in or register to answer this question.

...