@vela/postgres

Preview

This library is used to interact with PostgreSQL.

handlePostgres

This function is used to configure the PocketBase middleware in hooks.server.ts.

import { handlePostgres } from '@vela/postgres';

export const handle = handlePostgres({
	connectionString: POSTGRES_CONNECTION_STRING
})