package sequoia

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

The Sequoia query builder interface, output by the Make functor below.

Query builder interface

module Param : module type of Sequoia_param

Query parameters.

module Lit : module type of Sequoia_lit

Query parameters.

module Expr : module type of Sequoia_expr

Literal values.

module Table : module type of Sequoia_table

Expressions.

module Field : module type of Sequoia_field

SQL tables.

module Vector : module type of Sequoia_vector

Field definitions.

SELECT queries.

SELECT queries.

INSERT queries.

REPLACE queries.

UPDATE queries.

module type FIELD = sig ... end

Field definitions for a given table.

module type NULL_FIELD = sig ... end

Nullable field definitions for a given table.

module type TABLE = sig ... end
val table : string -> (module TABLE)

table name returns a module that can be used to define SQL table fields. The intended use is for this result to be included in an OCaml module that will hold the field definitions.

module MakeTable (T : NAMED) : TABLE

Functor that generates a table module to be used in SQL table defintions. Should only be useful for driver writers.

OCaml

Innovation. Community. Security.