package sqlgg

  1. Overview
  2. Docs
SQL Guided (code) Generator

Install

dune-project
 Dependency

Authors

Maintainers

Sources

sqlgg-20260721.tbz
sha256=40d7699187951dd2f17d885c4f4f04124930bf7dc1119d4cca322c5f0cb42d8e
sha512=e7c90683cddcff3ca0ba9de9e40c2c4c69923ea62e2647f1a70083e42ed00b7cab53f8a14d1a965ee4465966bc02fa75fa7cb42e485beae1a9c26bdc252c3665

doc/sqlgg.lib/Sqlgg/Sql/Schema/index.html

Module Sql.SchemaSource

Sourcetype t = attr list
Sourceexception Error of t * string
Sourcemodule Source : sig ... end
Sourceval raise_error : t -> ('a, unit, string, 'b) format4 -> 'a
Sourceval by_name : string -> attr -> bool

FIXME attribute case sensitivity?

Sourceval find_by_name : attr list -> string -> attr list
Sourceval find : t -> string -> attr
Sourceval make_unique : attr list -> attr list
Sourceval is_unique : attr list -> bool
Sourceval check_unique : t -> bool
Sourceval project : string list -> t -> attr list
Sourceval change_inplace : t -> string -> attr -> attr list
Sourceval exists : t -> string -> bool
Sourceval rename : t -> string -> string -> attr list
Sourceval names : attr list -> string
Sourcemodule Join : sig ... end
Sourceval cross_all : 'a list list -> 'a list
Sourceval compound : 'a Source.Attr.t list -> 'b Source.Attr.t list -> 'a Source.Attr.t list
Sourceval add : t -> attr -> [< `After of string | `Default | `First ] -> attr list
Sourceval drop : t -> string -> attr list
Sourceval change : t -> string -> attr -> [< `After of string & 'a | `Default | `First ] -> attr list
Sourceval print : t -> unit