Graphorin API reference v0.7.0
Graphorin API reference / @graphorin/store-sqlite / / SessionScopedPurge
Interface: SessionScopedPurge
Defined in: packages/store-sqlite/src/session-store.ts:403
One entry of the session-content purge registry: which table holds session-scoped rows, which column scopes them, and which sidecars (FTS shadow, per-embedder vec0 tables, FK-referencing tables, memory-history value scrub) must go with them.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
fts? | readonly | string | FTS5 shadow table joined by rowid, when the table has one. | packages/store-sqlite/src/session-store.ts:409 |
history? | readonly | { kind: string; textColumn: string; valueMatch: boolean; } | Scrub memory_history values for the deleted rows (store-04 parity). valueMatch additionally clears history rows whose values equal the deleted row's text (the SUPERSEDE shape). | packages/store-sqlite/src/session-store.ts:419 |
history.kind | readonly | string | - | packages/store-sqlite/src/session-store.ts:420 |
history.textColumn | readonly | string | - | packages/store-sqlite/src/session-store.ts:421 |
history.valueMatch | readonly | boolean | - | packages/store-sqlite/src/session-store.ts:422 |
refs? | readonly | readonly { column: string; table: string; }[] | Tables referencing the base rows - cleared BEFORE the base rows. | packages/store-sqlite/src/session-store.ts:413 |
sessionColumn | readonly | "scope_session_id" | "session_id" | Column carrying the session id. | packages/store-sqlite/src/session-store.ts:407 |
table | readonly | string | Base table holding the session-scoped rows. | packages/store-sqlite/src/session-store.ts:405 |
vec? | readonly | { idColumn: string; prefix: string; } | Per-embedder vec0 sidecar family (name prefix + id column). | packages/store-sqlite/src/session-store.ts:411 |
vec.idColumn | readonly | string | - | packages/store-sqlite/src/session-store.ts:411 |
vec.prefix | readonly | string | - | packages/store-sqlite/src/session-store.ts:411 |