Datomic at flatmap.