Neon · Function
poolQuery
The Neon serverless driver lets JavaScript and TypeScript code query Postgres through a tagged SQL function. It uses practical defaults and supports configuration for result formats, fetch behavior, connection parameters, and transactions.
Last updated
Syntax
const sql = neon(connectionString);
const rows = await sql`SQL query`;In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
Neon serverless driverresult formatsfetch optionsconnection parameterstransaction options