Source: Datomic Blog

Datomic Blog Return Maps

Most Datomic queries return tuples, but sometimes you just want maps. Today's release of the Datomic Cloud client library adds return maps to Datomic datalog. For example, the following query uses the new :keys clause to request maps with :artist and :release keys:[:find ?artist-name ?release-name :keys artist release :where [?release :release/name ?release-name] [?release :release/artists ?artist] [?artist :artist/name ?artist-name]]Running against the mbrainz-sample database, this query returns:#{{:artist "George Jones" :release "With Love"} {:artist "Shocking Blue" :release "Hello Darkness / Pickin' Tomatoes"} {:artist "Junipher Greene" :release "Friendship"} ...}To try return maps, you canSign up for Datomic Cloud on AWS Marketplace.Read the new return maps docs.

Read full article »
Est. Annual Revenue
$5.0-25M
Est. Employees
1-25
CEO Avatar

CEO

Update CEO

CEO Approval Rating

- -/100



Datomic is a Private company. Datomic generates $1M in revenue per employee Datomic has 3 followers on Owler.