Fork me on GitHub
Ben Sless07:09:22

Hi all, I have a silly question regarding the pricing model, maybe I'm just missing something: Is the pricing only of instances running Datomic (transactor, etc), or for application instances using the client library as well?


@ben.sless Datomic Cloud presumably? The pricing is only for the nodes/instances running Datomic Cloud software (the nodes started by the Cloudformation template)

Ben Sless13:09:11

alright, then no charge for the number of clients, only for instances running Datomic itself. What about on-prem?


@ben.sless i think this page answers that question well: > All Datomic On-Prem licenses are perpetual and include all features: > > • Unlimited Peers and/or Clients


I've seen datomic.api/entity. How is it supposed to work? I give it the db plus a :db/id and it is then supposed to give me a map with all attributes? Or how do I use it? There is only documentation for the Java version, not the Clojure one.


The immediate result is a map with the key :db/id and nothing else


however, you should also familiarize yourself with the pull API, as it provides much of the same functionality as entity (some differences), but is available in both peer and client


Thanks, ah, so it only fetches the key names when explicitly asked! Well, I don't think I'll ever use the client library, but I have looked at pull as well (and use it regularly inside a query)


why do u think u would never use the client library?


We're using Datomic on-prem and only use Clojure, so there's simply no reason to


I'm running the free version datomic via How do I interface with datamic to peek inside it?