Skip to content

Commit fea82d6

Browse files
committed
constraint manipulation
1 parent 0476c2e commit fea82d6

2 files changed

Lines changed: 222 additions & 53 deletions

File tree

include/operations.hrl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
%% Relation constraints - holds all types of constraints for a relation
4545
-record(relation_constraints, {
46-
attribute_constraints :: #{atom() => #attribute_constraint{}}, % 1OPs - attribute constraints
46+
attribute_constraints :: #{atom() => [#attribute_constraint{}]}, % 1OPs - per-attribute named constraints
4747
tuple_constraints :: [#tuple_constraint{}], % 2OPs - inter-attribute constraints
4848
multi_tuple_constraints :: [term()] % 3OPs - multi-tuple constraints (future)
4949
}).

0 commit comments

Comments
 (0)