sqliteAppendLog()
Create an append-log tier over an optional Node SQLite backend.
Import
Section titled “Import”import { sqliteAppendLog } from "@graphrefly/ts/storage/node";Signature
Section titled “Signature”function sqliteAppendLog( path: string, opts: SqliteAppendLogOptions<T> = {},): AppendLogStorageTier<T> & { close(): void }Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
path | string | path value used by the helper. |
opts | SqliteAppendLogOptions<T> | Options that configure the helper. |
Returns
Section titled “Returns”A AppendLogStorageTier<T> & { close(): void } value.
Example
Section titled “Example”import { sqliteAppendLog } from "@graphrefly/ts/storage/node";Source
Section titled “Source”packages/ts/src/storage/node.ts