Fork me on GitHub
#datomic
<
2018-05-30
>
gavanitrate07:05:16

hey folks, does anyone know if it is possible to perform a pull expression on an aggregate function? i.e.

'[:find ?pc (pull (distinct ?c) [:company/name])
:in $ 
... ]

stuarthalloway12:05:03

@gavanitrate no, pull takes entities only

Drew Verlee15:05:33

I feel like it would be useful to expand http://www.learndatalogtoday.org/ to have more examples and show more options. For example, the pull api. Does anyone know if the maintainer takes pull requests or who to talk to about that?

val_waeselynck15:05:01

Why not ask him directly? It does say PRs/feedback welcome https://github.com/jonase/learndatalogtoday#feedback-welcome

Drew Verlee15:05:56

good point. I suppose i should have put the emphasis on the first part. I’m more curious if people think it should be expanded. I personally find it hard to learn datomic without working through the examples. I wonder if maybe i should be trying to understand it through the grammer.