type Front

bend-kit-postgres@0.3.0.0 · codec.bend:11

import bend-kit-postgres@0.3.0.0/codec.bend as Codec
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

11# Frontend messages. Describe and CloseMsg take kind 83 ('S', statement) or 80 ('P', portal).
12# Bind params hold one Maybe per parameter, None for SQL NULL; empty formats mean text.
13type Front is Type:
14  Startup{params: List<&1, Param>}
15  SSLRequest{}
16  Password{text: Bytes.Bytes}
17  SASLInitial{mech: Bytes.Bytes, data: Bytes.Bytes}
18  SASLResponse{data: Bytes.Bytes}
19  Parse{name: Bytes.Bytes, query: Bytes.Bytes, oids: List<&2, U32>}
20  Bind{portal: Bytes.Bytes, stmt: Bytes.Bytes, formats: List<&2, U32>, params: List<&1, Maybe<&1, Bytes.Bytes>>, results: List<&2, U32>}
21  Describe{kind: U32, name: Bytes.Bytes}
22  Execute{portal: Bytes.Bytes, max: U32}
23  Sync{}
24  CloseMsg{kind: U32, name: Bytes.Bytes}
25  Terminate{}

Uses (5)

Used by (34)