estk-snapshots-pg
v0.0.8
Published
``` import { PostgresSnapshotStorage } from 'estk-snapshots-pg'; import { PostgresClient } from 'estk-pg';
Downloads
1
Readme
import { PostgresSnapshotStorage } from 'estk-snapshots-pg';
import { PostgresClient } from 'estk-pg';
const client = await PostgresClient({
url: process.env.DATABASE_URL
});
const Widget = PostgresSnapshotStorage({ client, tableName: 'widget' + Date.now() });