mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-21 08:02:26 +00:00
update g/all to f/examples
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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,
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user