Kai Revona
DTDrizzle Team
•Created by Kai Revona on 3/7/2024 in #help
The optimise likes table
I am beginner, i have lealearned about social media design pattern, i created posts, likes, comments tabltable. But likes table only have userId and postId to relation. I don't know how to create likes for comments. Please help me
1 replies
DTDrizzle Team
•Created by Kai Revona on 2/2/2024 in #help
Nested comment
How to create a nested comment model like prisma
20 replies
DTDrizzle Team
•Created by Kai Revona on 2/1/2024 in #help
Auto delete record using timestamp
How to auto delete a record using timestamp and do a function when delete
9 replies
DTDrizzle Team
•Created by Kai Revona on 1/18/2024 in #help
many-to-many selection as array
How to join hashtagsToPosts with hashtags to data selection
5 replies
DTDrizzle Team
•Created by Kai Revona on 1/13/2024 in #help
Autogenerated default approach
How to return a default generated id like the isssue "Does Drizzle support MySQL's LAST_INSERT_ID function?" of Andrew Sherman: with autogenerated default approach(after we will add this functionality) I guess we will send you back this generated id from insert call, so you can do second select yourself
20 replies
DTDrizzle Team
•Created by Kai Revona on 1/7/2024 in #help
Relation many record MySQL
How to create many record using forEach in array and relrelation it to parent table in MySQL like Prisma
14 replies
DTDrizzle Team
•Created by Kai Revona on 12/17/2023 in #help
MySQL Relational CRUD
I am the own of issue #1395, it was closed but i don't know way to follow this suggestion: MySql doesn't support returning() you have to do it in a migration and send 2 different queries. Please create a help post in discord or a question in a discussion if you need further help.
16 replies