Issues with the "with" parameter
Hello! I am super sure this is a noob questions but this is my first time using Drizzle with Hono in Bun, coming from sequelize. So I am trying to make this short:
When I try to do
I receive a SQL error from my MariaDB telling me that there is an issue with the following SQL Query:
with the error message:
When i remove the "with feature" from my code it does work fine. So my guess is either that the
json_array
is causing issues, or my schema is incorrect and might have done a mistake designing the structure...
I have the following schema with only the relevant parts:
The full one can be found here: https://github.com/FlippedCodes/I-SH2/blob/main/src/api/db/schema.tsGitHub
I-SH2/src/api/db/schema.ts at main · FlippedCodes/I-SH2
The new version of I-SH. Contribute to FlippedCodes/I-SH2 development by creating an account on GitHub.
0 Replies