by trurl · 8y ago · 0 comments
We also allow constraints over aggregations. Though our syntax does require giving the result of the aggregation a temporary "table" name so that it can be used as part of the constraint.
It seems like your DB is basically a Datalog version of what im trying to do in SQL.