Skip to content

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

PropertyModifierTypeDefined in
dbreadonlyBetterSqlite3Databasepackages/store-sqlite/src/audit-db.ts:41
pathreadonlystringpackages/store-sqlite/src/audit-db.ts:40

Methods

close()

ts
close(): void;

Defined in: packages/store-sqlite/src/audit-db.ts:42

Returns

void