Skip to content

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

PropertyModifierTypeDefined in
dbreadonlyBetterSqlite3Databasepackages/store-sqlite/src/audit-db.ts:46
pathreadonlystringpackages/store-sqlite/src/audit-db.ts:45

Methods

close()

ts
close(): void;

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

Returns

void