Graphorin API reference v0.12.1
Graphorin API reference / @graphorin/store-sqlite / / AuditDatabase
Interface: AuditDatabase
Defined in: packages/store-sqlite/src/audit-db.ts:44
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:46 |
path | readonly | string | packages/store-sqlite/src/audit-db.ts:45 |
Methods
close()
ts
close(): void;Defined in: packages/store-sqlite/src/audit-db.ts:47
Returns
void