Eternal Mori
Explore posts from serversDTDrizzle Team
•Created by Eternal Mori on 3/16/2024 in #help
drizzle-kit push error: Multiple primary key defined
3 replies
DTDrizzle Team
•Created by Eternal Mori on 10/17/2023 in #help
How to mimic the prisma cursor option for use with useInfiniteQuery
How to mimic the cursor option in drizzle with MySQL?
This is the Prisma documentation: https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination
4 replies
DTDrizzle Team
•Created by Eternal Mori on 7/12/2023 in #help
How can I filter on a joined table field (nested value) with the relational query syntax?
☝🏻
1 replies
DTDrizzle Team
•Created by Eternal Mori on 7/12/2023 in #help
How to implement a where clause on a joined table with the new relation builder?
This was my original query, the big problem is that it returns as many rows as there are messages instead of one entry with multiple messages. As you can see, I have a where clause where the entry is filtered with it's id, and a organization id that is part of another joined table named channel.
4 replies
DTDrizzle Team
•Created by Eternal Mori on 6/29/2023 in #help
Typescript error with custom column type
2 replies