We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d309c3 commit 747785dCopy full SHA for 747785d
sql_queries/fetch_document_details_by_form_id.sql
@@ -176,7 +176,7 @@ const query = `
176
LEFT JOIN form_lands ON form_lands.form_id = forms.id
177
LEFT JOIN farm_pond_details ON farm_pond_details.form_id = forms.id
178
LEFT JOIN plantation_details ON plantation_details.form_id = forms.id
179
- WHERE forms.user_id = ?;
+ WHERE forms.id = ?;
180
`;
181
182
// Execute the query using MySQL2's query method
0 commit comments