Packages

A compile-time safe database library for Gleam - Ecto-inspired schemas, composable queries, and adapter-based persistence

Current section

Files

Jump to
cquill include cquill@schema_Schema.hrl
Raw

include/cquill@schema_Schema.hrl

-record(schema, {
source :: binary(),
table_schema :: gleam@option:option(binary()),
fields :: list(cquill@schema@field:field()),
primary_key :: list(binary()),
table_constraints :: list(cquill@schema:table_constraint()),
comment :: gleam@option:option(binary())
}).