We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried creating the folder query and and file route.ts and pasted the code in route.ts
SELECT invoices.amount, customers.name FROM invoices JOIN customers ON invoices.customer_id = customers.id WHERE invoices.amount = 666;
The text was updated successfully, but these errors were encountered:
I tried creating the folder query and and file route.ts and pasted the code in route.ts SELECT invoices.amount, customers.name FROM invoices JOIN customers ON invoices.customer_id = customers.id WHERE invoices.amount = 666;
https://github.com/vercel/next-learn/tree/main/dashboard/starter-example/app/query
Sorry, something went wrong.
remove the following return part from the code to perform:
return Response.json({ message: 'Uncomment this file and remove this line. You can delete this file when you are finished.', });
@mika7days the issue is that the there is no ./query/route.ts file in the first place
I'm going through the tutorial and am running into the same problem.
Although it was a fun exercise to attempt in writing it all out myself - unfortunately I wasn't able to actually execute the SQL correctly.
No branches or pull requests
I tried creating the folder query and and file route.ts and pasted the code in route.ts
SELECT invoices.amount, customers.name
FROM invoices
JOIN customers ON invoices.customer_id = customers.id
WHERE invoices.amount = 666;
The text was updated successfully, but these errors were encountered: