errorsmyown
errorsmyown
DTDrizzle Team
Created by errorsmyown on 11/21/2023 in #help
mysql2 many-to-many
Is there an example of a mysql many-to-many relationship? I haven't been able to find one and I'm getting a foreign key constraint db error similar to this post https://planetscale.com/blog/working-with-related-data-using-drizzle-and-planetscale. I've created a join table with foreign keys and relations in line with the example here https://orm.drizzle.team/docs/rqb#many-to-many. Many thanks!
7 replies