Fork me on GitHub
#datomic
<
2019-03-03
>
Vincent Cantin08:03:45

Hi. I am trying to write a spec for queries of Datomic and I found 2 different grammars on the website. Which one is the correct one? - https://docs.datomic.com/cloud/query/query-data-reference.html - https://docs.datomic.com/on-prem/query.html

dmarjenburgh08:03:04

The first one is for Datomic Cloud, the second one for Datomic On-Prem. I believe the valid Cloud queries are a subset of the valid on-prem queries. E.g. collection binding is not supported in Datomic Cloud queries

👍 5
Vincent Cantin08:03:44

So they are both valid? I see. Thx

dmarjenburgh13:03:28

Yeah, it’s supported for inputs. I meant it’s not supported in the :find spec.

steveb8n01:03:00

Did you find this in your travels? https://github.com/lab-79/datomic-spec

😮 4
👍 8
Vincent Cantin07:03:27

I did not know this project. I will still go ahead with my own spec, but thank you for the link.