Graphorin API reference v0.4.0
Graphorin API reference / @graphorin/store-sqlite / / AuditDatabase
Interface: AuditDatabase
Defined in: packages/store-sqlite/src/audit-db.ts:39
Lightweight handle returned by openAuditDatabase. The audit package (Phase 03) owns the schema; this module only opens the file with the cipher peer and applies WAL hardening so the consumer can focus on appending audit records.
Stable
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
db | readonly | BetterSqlite3Database | packages/store-sqlite/src/audit-db.ts:41 |
path | readonly | string | packages/store-sqlite/src/audit-db.ts:40 |
Methods
close()
ts
close(): void;Defined in: packages/store-sqlite/src/audit-db.ts:42
Returns
void