Postgres.absorb: def of bend-kit-postgres@0.3.0.0 Import: import bend-kit-postgres@0.3.0.0/postgres.bend as Postgres Lines 494-519 of bend-kit-postgres@0.3.0.0/postgres.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-postgres@0.3.0.0/postgres.bend&start_line=494&end_line=519 import Base import bend-kit-postgres@0.3.0.0/codec.bend as Codec def absorb(a: Acc, m: Codec.Back) -> Step: match m: case Codec.DataRow{cols}: Go{acc.row(a, cols)} case Codec.RowDescription{fs}: Go{acc.fields(a, fs)} case Codec.CommandComplete{t}: Go{acc.tag(a, t)} case Codec.ErrorResponse{fs}: Go{acc.err(a, err.of(fs))} case Codec.ReadyForQuery{+s}: Stop{a, s} case Codec.ParseComplete{}: Go{a} case Codec.BindComplete{}: Go{a} case Codec.NoData{}: Go{a} case Codec.EmptyQuery{}: Go{a} case Codec.CloseComplete{}: Go{a} case Codec.PortalSuspended{}: Go{a} case _: Odd{} Uses (8): https://jend.leeeet.dev/definition.txt?path=bend-kit-postgres@0.3.0.0/codec.bend&name=Back https://jend.leeeet.dev/definition.txt?path=bend-kit-postgres@0.3.0.0/postgres.bend&name=Acc https://jend.leeeet.dev/definition.txt?path=bend-kit-postgres@0.3.0.0/postgres.bend&name=Step https://jend.leeeet.dev/definition.txt?path=bend-kit-postgres@0.3.0.0/postgres.bend&name=acc.err https://jend.leeeet.dev/definition.txt?path=bend-kit-postgres@0.3.0.0/postgres.bend&name=acc.fields https://jend.leeeet.dev/definition.txt?path=bend-kit-postgres@0.3.0.0/postgres.bend&name=acc.row https://jend.leeeet.dev/definition.txt?path=bend-kit-postgres@0.3.0.0/postgres.bend&name=acc.tag https://jend.leeeet.dev/definition.txt?path=bend-kit-postgres@0.3.0.0/postgres.bend&name=err.of