package petrol

  1. Overview
  2. Docs

Module Petrol.PostgresSource

Sourcemodule Request = Request

Defines Petrol's e-DSL for Postgres SQL.

Note Typically you should open this module at the start of the file.

  open Petrol
  open Petrol.Postgres
      Expr.[i 1; bl false]
  (* - : (int * (bool * ())) Expr.expr_list *)
Sourcemodule Type : sig ... end

Defines all supported Postgres types.

Sourcemodule Expr : sig ... end

Provides an SQL E-DSL for writing well-typed SQL expressions.

OCaml

Innovation. Community. Security.