@keyv/postgres
PostgreSQL storage adapter for Keyv
Last updated 3 years ago by lukechilds .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @keyv/postgres 
SYNC missed versions from official npm registry.

@keyv/postgres keyv

PostgreSQL storage adapter for Keyv

Build Status Coverage Status npm

PostgreSQL storage adapter for Keyv.

Requires Postgres 9.5 or newer for ON CONFLICT support to allow performant upserts. Why?

Install

npm install --save keyv @keyv/postgres

Usage

const Keyv = require('keyv');

const keyv = new Keyv('postgresql://user:pass@localhost:5432/dbname');
keyv.on('error', handleConnectionError);

You can specify the table option.

e.g:

const keyv = new Keyv('postgresql://user:pass@localhost:5432/dbname', { table: 'cache' });

License

MIT © Luke Childs

Current Tags

  • 1.0.16                                ...           latest (3 years ago)

10 Versions

  • 1.0.16                                ...           3 years ago
  • 1.0.15                                ...           3 years ago
  • 1.0.14                                ...           3 years ago
  • 1.0.13                                ...           3 years ago
  • 1.0.12                                ...           3 years ago
  • 1.0.11                                ...           3 years ago
  • 1.0.10                                ...           3 years ago
  • 1.0.9                                ...           3 years ago
  • 1.0.8                                ...           3 years ago
  • 1.0.7                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 18
Last Day 0
Last Week 2
Last Month 34
Dependencies (2)
Dev Dependencies (9)

Copyright 2014 - 2016 © taobao.org |