Skip to content

Commit 79bb260

Browse files
Merge pull request pradanvirudhunagar#25 from Churchill427/main
SQL:updated_preview_forms
2 parents 7a8fefd + fe93bab commit 79bb260

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
const [rows] = await connection.execute(
2+
`SELECT
3+
forms.id,
4+
forms.form_type,
5+
forms.farmer_name,
6+
forms.created_at,
7+
forms.status,
8+
forms.gender,
9+
forms.block,
10+
forms.hamlet,
11+
forms.panchayat
12+
FROM
13+
forms
14+
WHERE
15+
forms.user_id = ?`,
16+
[userId]
17+
);

0 commit comments

Comments
 (0)