We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3defc7e commit 9701a00Copy full SHA for 9701a00
frameworks/TypeScript/elysia/src/postgres.ts
@@ -3,11 +3,11 @@ import { rand } from "./db-handlers";
3
import type { Fortune, World } from "./types";
4
5
const sql = postgres({
6
- host: "tfb-database",
7
- user: "benchmarkdbuser",
8
- password: "benchmarkdbpass",
9
- database: "hello_world",
10
- max: 1,
+ host: "tfb-database",
+ user: "benchmarkdbuser",
+ password: "benchmarkdbpass",
+ database: "hello_world",
+ max: 1,
11
});
12
13
export const fortunes = () => sql<Fortune[]>`SELECT id, message FROM fortune`;
0 commit comments