Rel_list
Query OCaml lists of rows.
Given a suitable map from table to their content as lists of values, this module (slowly) runs queries in memory.
module Table_env : sig ... end
Table environments.
type error = [
| `Undefined_table of Rel.Table.v |
| `Unknown_extension of string |
| `Unexpected_variable of string |
]
The type for query errors.
val error_to_string : error -> string
error_to_string e
is e
as a human readable string.
val of_bag :
Table_env.t ->
( 'a, 'e ) Rel.Bag.t ->
( 'a list, error ) Stdlib.result
of_bag env b
is the result of b
given tables the table environment env
.