melodyclue
melodyclue
Explore posts from servers
DTDrizzle Team
Created by melodyclue on 2/28/2024 in #help
Followers count
i want users I followed
7 replies
DTDrizzle Team
Created by melodyclue on 2/28/2024 in #help
Followers count
I don't have full table but like this...
export const followers = mysqlTable("followers", {
userId: varchar("user_id", { length: 255 }).notNull(),
followerId: varchar("follower_id", { length: 255 }).notNull(),
})
export const followers = mysqlTable("followers", {
userId: varchar("user_id", { length: 255 }).notNull(),
followerId: varchar("follower_id", { length: 255 }).notNull(),
})
7 replies
DTDrizzle Team
Created by melodyclue on 2/28/2024 in #help
Followers count
@solo I also want information about people I follow and like, so I store it in the JUNCTION TABLE. So by counting the number of records in the condition, that is the number of followers and likes
7 replies
DTDrizzle Team
Created by melodyclue on 2/23/2024 in #help
json_arrayagg(json_array ...
I think json_object is right one, not json_array
2 replies
DTDrizzle Team
Created by davebanana on 11/22/2023 in #help
How to inspect generated query?
Can the log be coloured according to query or mutation?
6 replies
DTDrizzle Team
Created by mrnicericee on 9/18/2023 in #help
Dropping mysql unique errors
I have the same problem!
2 replies