Module 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 = [
  1. | `Undefined_table of Rel.Table.v
  2. | `Unknown_extension of string
  3. | `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_query.Bag.t -> ('a list, error) Stdlib.result

of_bag env b is the result of b given tables the table environment env.