aboutsummaryrefslogtreecommitdiffstats
path: root/lib/protocols/Relation.mli
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/protocols/Relation.mli5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/protocols/Relation.mli b/lib/protocols/Relation.mli
index be11cc1..87e6ab2 100644
--- a/lib/protocols/Relation.mli
+++ b/lib/protocols/Relation.mli
@@ -8,3 +8,8 @@ val make : #implementation -> Handle.protocol
val from : Handle.t -> t Handle.interface option
val require : Handle.t -> (t Handle.interface, Concepts.Condition.condition) result
val contains : t Handle.interface -> Concepts.Tuple.t -> (bool, Concepts.Condition.condition) result
+
+(** the heading and tuples of a relation, read whole. *)
+val read :
+ Handle.t ->
+ (Schematics.relation_description * Concepts.Tuple.t list, Concepts.Condition.condition) result