Skip to main content

Query Neon PostgreSQL from serverless/worker/edge functions over WebSockets or https

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
70%
Published
3 weeks ago (1.0.1)
method neonConfig.fetchConnectionCache
neonConfig.fetchConnectionCache(): NeonConfig["fetchConnectionCache"]

DEPRECATED. Previously, only when fetchConnectionCache was true did queries carried via HTTP fetch make use of a connection pool/cache on the server. All queries now use the connection pool/cache: this setting is ignored.

Default: true.

Return Type

NeonConfig["fetchConnectionCache"]

Add Package

deno add jsr:@neon/serverless

Import symbol

import { neonConfig } from "@neon/serverless";
or

Import directly with a jsr specifier

import { neonConfig } from "jsr:@neon/serverless";

Add Package

pnpm i jsr:@neon/serverless
or (using pnpm 10.8 or older)
pnpm dlx jsr add @neon/serverless

Import symbol

import { neonConfig } from "@neon/serverless";

Add Package

yarn add jsr:@neon/serverless
or (using Yarn 4.8 or older)
yarn dlx jsr add @neon/serverless

Import symbol

import { neonConfig } from "@neon/serverless";

Add Package

vlt install jsr:@neon/serverless

Import symbol

import { neonConfig } from "@neon/serverless";

Add Package

npx jsr add @neon/serverless

Import symbol

import { neonConfig } from "@neon/serverless";

Add Package

bunx jsr add @neon/serverless

Import symbol

import { neonConfig } from "@neon/serverless";