Re:Datomic: Look at all the things I'm not doing
by dominotw on Saturday April 21, 2018 @10:48AM
(#16891604)
Apparently dataomic creates indexes for you[1] so you don't have to write views on top of the events like you'd do if you use just insert events in a table in postgres.
So for example if you want to count the number of page views for a particular user, you'd simply use EAVT Index for that particular userId.
Re:Datomic: Look at all the things I'm not doing
by augustl on Saturday April 21, 2018 @11:09AM
(#16891692)
Yup. You don't create your own views, you get a generic query engine and generic indices instead. On top of all the other benefits, like cheap as-of time travel.
So for example if you want to count the number of page views for a particular user, you'd simply use EAVT Index for that particular userId.
https://docs.datomic.com/cloud/query/raw-index-access.html