datomic

Ask questions on the official Q&A site at https://ask.datomic.com!
cjsauer 2021-04-16T01:11:48.308900Z

Is there a secret namespace that one can access for parsing pull expressions into an AST?

đź‘Ť 1
souenzzo 2021-04-16T16:56:40.315300Z

https://github.com/souenzzo/eql-datomic/

đź‘Ź 1
cjsauer 2021-04-16T23:38:37.320300Z

Very nice! Thanks!

favila 2021-04-16T01:24:32.309500Z

It’s not perfect, it doesn’t understand some attribute option syntax

cjsauer 2021-04-16T01:33:33.309700Z

That is really close. I see it treats parameters differently, but only slightly.

kenny 2021-04-16T01:44:30.310700Z

We write our queries in eql and have a transform function to convert ast to Datomic syntax.

cjsauer 2021-04-16T02:02:09.310900Z

Nice, that’s a good approach.