How to query many-many with mysql
I setup a simple example to test if many-many query and ran again into the same issue.
4 Replies
I took exactly this many to many schema for many-many and modified it for mysql so this should be fine
https://orm.drizzle.team/docs/rqb#many-to-many
and this is how I query m-m
The rest of the code is rather unrelevant setup code
Drizzle ORM - Query
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
I feel this must be a banger
it did not help
I will just use joins, I think this might not work for mysql but I have no other databases to check if thats the case. Please notify me if thats the case
MariaDB does not support all MySQL features, including the Lateral keyword
https://mariadb.com/kb/en/incompatibilities-and-feature-differences-between-mariadb-11-3-and-mysql-8-/
MariaDB KnowledgeBase
Incompatibilities and Feature Differences Between MariaDB 11.3 and ...
List of incompatibilities and feature differences between MariaDB 11.3 and MySQL 8.0.