1
2
3
4
5
6
7
8
import process from "node:process";
export let testPostgres = (async () => {
const postgres = await import("https://deno.land/x/postgres/mod.ts");
const client = new postgres.Client(process.env.neon);
await client.connect();
console.log(await client.queryObject`select CURRENT_TIME;`);
})();