def prune
import bend-kit-commands@0.4.0.0/commands.bend as Commandsimport Base
407# Forgets every record made before the time before. A later retry of a forgotten id runs as a new command.
408def prune(st: Store, before: U32) -> Run(Unit):
409 Store{db, begin, commit, rollback, find, read, save, del, keep, emit} = st
410 once(Unit, db, "DELETE FROM commands_seen WHERE at < ?", +s => prune.run(s, before))
Uses (6)
Used by (0)
No other definition uses this definition.