packages feed

hasql-2.2.0.0 / src / library / Hasql / Encoders.hs

-- |-- A DSL for declaration of statement parameter encoders.---- For compactness of names all the types defined here imply being an encoder.-- E.g., the `Array` type is an __encoder__ of arrays, not the data-structure itself.module Hasql.Encoders  ( -- * Parameters product    Params,    noParams,    param,    -- * Nullability    NullableOrNot,    nonNullable,    nullable,    -- * Value    Value,    bool,    int2,    int4,    int8,    float4,    float8,    numeric,    char,    text,    varchar,    bpchar,    bytea,    date,    timestamp,    timestamptz,    time,    timetz,    interval,    uuid,    inet,    macaddr,    json,    jsonBytes,    jsonLazyBytes,    jsonb,    jsonbBytes,    jsonbLazyBytes,    int4range,    int8range,    numrange,    tsrange,    tstzrange,    daterange,    int4multirange,    int8multirange,    nummultirange,    tsmultirange,    tstzmultirange,    datemultirange,    citext,    name,    oid,    foldableArray,    array,    hstore,    enum,    composite,    custom,    unknown,    -- * Array    Array,    element,    dimension,    -- * Composite    Composite,    field,  )whereimport Hasql.Codecs.Encoders