Skip to main content
Module

x/kv_storage/adapters/postgres.ts>PostgresAdapter

An implementation of the StorageArea interface for Deno.
Latest
class PostgresAdapter
implements Adapter
import { PostgresAdapter } from "https://deno.land/x/kv_storage@v0.6.0-pre.1/adapters/postgres.ts";

Constructors

new
PostgresAdapter(unnamed 0: AdapterParams)

Properties

private
area: string
private
optional
client: Client
private
init: Promise<void>
private
url: string

Methods

private
keepOpen()
private
query(query: string, unnamed 1?: { key?: string; value?: string; })
delete(key: string)
get(key: string): Promise<string | undefined>
set(key: string, value: string)