def row.get
import bend-kit-commands@0.4.0.0/commands.bend as Commandsimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
import bend-kit-sqlite@0.1.0.1/sqlite.bend as Sqlite
238# The value at key k, if a row holds it.
239def row.get(+read: U32, k: Bytes.Bytes) -> Run(Maybe<Bytes.Bytes>):
240 do Run<Maybe<Bytes.Bytes>>:
241 bind(read, 1, k)
242 row : Bool <- Sqlite.stmt.step(read)
243 m : Maybe<Bytes.Bytes> <- row.of(row, read)
244 Sqlite.stmt.reset(read)
245 return m