forked from windmill-labs/windmill
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample_queries.yaml
54 lines (54 loc) · 1.4 KB
/
sample_queries.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
- lang: python3
type: gen
description: Connect to postgres and list the rows in the orders table
- lang: python3
type: fix
code: |-
def main(num: int) -> int:
return 3 / num
error: division by zero
- lang: python3
type: edit
code: |-
def main(num: int) -> int:
return num / 16
description: Comment my code
- lang: go
type: gen
description: Divide a number by 16
- lang: deno
type: gen
description: Convert a number to a word
- lang: deno
type: gen
description: Connect to postgres and list the rows in the orders table
- lang: bun
type: gen
description: Convert a number to a word
- lang: postgresql
type: gen
description: Insert an a new user
- lang: mysql
type: gen
description: Insert an email and a name in the users table
- lang: bash
type: gen
description: Divide a number by 16
- lang: bash
type: gen
description: Write a docker image for a python app
- lang: nativets
type: gen
description: Query the github api and return the number of stars of a repo
- lang: frontend
type: gen
description: set the value of the input with id 'my_field' to the context variable email
- lang: postgresql
type: gen
description: compute the average number of completed jobs per month for the given username
- lang: postgresql
type: fix
code: |-
SELECT is_secret FROM account
error: |-
ExecutionError: db error: ERROR: column "is_secret" does not exist