File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ const query = `
19
19
form_lands.total_area
20
20
FROM
21
21
forms
22
- JOIN
22
+ LEFT JOIN
23
23
form_lands ON forms.id = form_lands.form_id
24
- JOIN
24
+ LEFT JOIN
25
25
files ON forms.id = files.form_id
26
26
WHERE
27
27
forms.form_type = 1
@@ -56,9 +56,9 @@ const query = `
56
56
plantation_details.tot_price
57
57
FROM
58
58
forms
59
- JOIN
59
+ LEFT JOIN
60
60
plantation_details ON forms.id = plantation_details.form_id
61
- JOIN
61
+ LEFT JOIN
62
62
files ON forms.id = files.form_id
63
63
WHERE
64
64
forms.form_type = 3
@@ -89,9 +89,9 @@ const query = `
89
89
farm_pond_details.total_est
90
90
FROM
91
91
forms
92
- JOIN
92
+ LEFT JOIN
93
93
farm_pond_details ON forms.id = farm_pond_details.form_id
94
- JOIN
94
+ LEFT JOIN
95
95
files ON forms.id = files.form_id
96
96
WHERE
97
97
forms.form_type = 2
You can’t perform that action at this time.
0 commit comments