Relation not working?
Hi the relations are on the screen the query output is
const result = await db.query.appSchema.findMany({ with: { creator: true } }).toSQL()
this is how i query
3 Replies
error: '
{
"name": "Error",
"message": "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '(select json_array(
appSchema_creator
.id
, appSchema_creator
.email
, `ap...' at line 1"
}
ok i i think i know it on server it works but not with xampp
damn why i think xampp foir quick and dirty setup is a good idea..I donβt think MariaDB is supported yet, there are subtle syntax differences with MySQL
they do but i had old version but i go now with 1:1 i have on server