SqlDelightCheckpointer

constructor(driver: SqlDriver, serializer: StateSerializer<State>, table: String = DEFAULT_TABLE, maxHistory: Int = Int.MAX_VALUE)

Parameters

driver

the database. Its dialect has to be SQLite, which every driver above is.

serializer

converts the graph state to and from a string.

table

the name of the table, letters, digits and _, not starting with a digit.

maxHistory

how many checkpoints a thread keeps, counted from the latest, for CompiledGraph.history and fork. The default keeps all of them; 1 keeps only the latest.