Closed Brayden closed 4 months ago
Supports using the native Neon drivers for interacting with Neon data sources.
$1
$2
const neon = new NeonHttpConnection('postgresql://USER:PASSWORD@ep-damp-hill-a59vzq0g.us-east-2.aws.neon.tech/neondb?sslmode=require'); await neon.connect(); const db = Outerbase(neon); // Chained query let { data, query } = await db.selectFrom([ { table: 'playing_with_neon', columns: ['id', 'name', 'value'] } ]) .where(equalsNumber('id', 1)) .query() // Raw query let { data } = await db.queryRaw('SELECT * FROM playing_with_neon WHERE id = $1', ['1']);
Purpose
Supports using the native Neon drivers for interacting with Neon data sources.
Tasks
$1
,$2
, etc)Verify
Before
After