TableAfterWriteContext
Summary
Context passed to the afterWrite hook.
Signature
type TableAfterWriteContext<row> = {
affectedRows: number
insertId?: unknown
operation: TableWriteOperation
tableName: string
values: ReadonlyArray<Partial<row>>
}