fix(frontend): psql demo expects integers as a key (#958)

This commit is contained in:
Jakub Kołodziejczak
2022-11-28 19:33:49 +01:00
committed by GitHub
parent 8fdc1d122b
commit d85f322a39
+1 -1
View File
@@ -139,7 +139,7 @@ export const POSTGRES_INIT_CODE = `import {
//PG parameterized statement. No SQL injection is possible.
export async function main(
db: Resource<"postgresql"> = "$res:g/all/demodb",
key: string,
key: number,
value: string,
) {
const query = await pgSql(