forked from windmill-labs/windmill
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample_queries.yaml
69 lines (69 loc) · 1.8 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
- 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) -> float:
return 3 / num
error: division by zero
- lang: python3
type: edit
code: |-
def main(num: int) -> float:
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: bigquery
type: gen
description: insert an email and a name in the users table
- lang: snowflake
type: gen
description: insert an email and a name in the users table
- lang: graphql
type: gen
description: create a new user with an email and a name
- lang: bash
type: gen
description: divide a number by 16
- lang: powershell
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
- lang: php
type: gen
description: list all customers from stripe