Discussion:
Use database function in query
Leon Grapenthin
2017-03-31 18:57:17 UTC
Permalink
The doc states

Predicates and generative functions for queries

http://docs.datomic.com/database-functions.html

But how do you invoke a database function in a query? I couldn't find this
documented anywhere.
--
You received this message because you are subscribed to the Google Groups "Datomic" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datomic+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Francis Avila
2017-03-31 21:06:52 UTC
Permalink
You can use datomic.api/invoke inside or outside a query. You can also grab
the value of the :db/fn attribute of the function entity and invoke that
value directly (although maybe not in a query--I haven't tried it).
Post by Leon Grapenthin
The doc states
Predicates and generative functions for queries
http://docs.datomic.com/database-functions.html
But how do you invoke a database function in a query? I couldn't find this
documented anywhere.
--
You received this message because you are subscribed to the Google Groups "Datomic" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datomic+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...