The \'Embedded\' section of the Datomic Queries and Rules document says:
Query languages like SQL are oriented around a client-server model where, in a
You can use pull to get all fields from an entity, or even just a selection. Using '[*] as the pattern for pull will retrieve all fields
See the pull documentation for more information.
To get all fields from an entity with id eid use:
(d/pull (db conn) '[*] eid)
Pull can also be used in queries:
(datomic.api/q '[:find (pull ?e [*])
:where
[?e :myapp/name]
(db conn))