update g/all to f/examples

This commit is contained in:
Ruben Fiszel
2023-04-26 09:14:02 +02:00
parent 4a34e83b56
commit 25bf0b3675
2 changed files with 2 additions and 2 deletions
@@ -161,7 +161,7 @@ declare function variable(path: string): string;
/**
* get resource at path
* @param {string} path - path of the resource (e.g: g/all/my_resource)
* @param {string} path - path of the resource (e.g: f/examples/my_resource)
*/
declare function resource(path: string): any;
+1 -1
View File
@@ -92,7 +92,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",
db: Resource<"postgresql"> = "$res:f/examples/demodb",
key: number,
value: string,
) {