def get

mylsm-lsm-store@0.6.0.1 · src/ByteMemTable.bend:435

import mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend as ByteMemTable
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

435# Reads a byte key and returns the still-owned table with the result.
436def get(table: Table, query: Bytes.Bytes) -> Table & Maybe<&1, Bytes.Bytes>:
437  match table:
438    case Table{entries}:
439      lookup.start(query, entries)

Uses (5)

Used by (2)