Skip to content
PACKAGES

sqliteAppendLog()

Create an append-log tier over an optional Node SQLite backend.

import { sqliteAppendLog } from "@graphrefly/ts/storage/node";
function sqliteAppendLog(
path: string,
opts: SqliteAppendLogOptions<T> = {},
): AppendLogStorageTier<T> & { close(): void }
ParameterTypeDescription
pathstringpath value used by the helper.
optsSqliteAppendLogOptions<T>Options that configure the helper.

A AppendLogStorageTier<T> & { close(): void } value.

import { sqliteAppendLog } from "@graphrefly/ts/storage/node";

packages/ts/src/storage/node.ts