Tuples and Database Predicates

28 May 2019

Today's releases of Datomic Cloud and Datomic On-Prem include two major new features: tuples and  database predicates.

Tuples are a new compound data type, small vectors as values. You can use tuples to create multi-attribute unique keys on domain entities. You can also use tuples to optimize queries that otherwise would have to join two or more high-population attributes.

Database predicates are functions and attribute lists that constrain the values accepted by transactions.
To learn more about tuples, database predicates, and other enhancements: