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@query@ast_Query.hrl
Raw

include/cquill@query@ast_Query.hrl

-record('query', {
source :: cquill@query@ast:source(),
select :: cquill@query@ast:select(),
wheres :: list(cquill@query@ast:where()),
order_bys :: list(cquill@query@ast:order_by()),
limit :: gleam@option:option(integer()),
offset :: gleam@option:option(integer()),
joins :: list(cquill@query@ast:join()),
distinct :: boolean(),
group_bys :: list(binary()),
havings :: list(cquill@query@ast:where())
}).