Relation

A static, ordered list of key-value pairs.

A relation represents a fixed set of key-value pairs. In many places in a Datalog computation we want to be sure that certain relations are not able to vary (for example, in antijoins).

Alias This

elements

Members

Aliases

TT
alias TT = TupleT

Convenient alias to retrieve the tuple type.

Functions

merge
auto merge(T other)

Merges two relations into their union.

Variables

elements
TupleT[] elements;

Sorted list of distinct tuples.

Meta