Blitz
Explore posts from serversDTDrizzle Team
•Created by Blitz on 10/9/2024 in #help
mapping data inside select function
Hi. Is there no other way to map data with nested object with select() function other than array.reduce? I would like to do it using the query, not JS as the amount of data can be big and take a long time. For now I am doing this by writing a big query using sql function in execute() but then I don't get real TS support for my types and I feel uncertain about possible bugs.
1 replies
Adding Cron!
Hello I'm working on a new project using Hono and I'm actually having a ton of fun. The thing is I need to add Cron Jobs to this project and while with other frameworks it's pretty straight forward with official documentation in Hono there is no docs about it. Can anyone help with how it should be achieved?
4 replies
DTDrizzle Team
•Created by Blitz on 1/8/2024 in #help
Migrations problem
Hi! I'm trying to perform migration in my app. Drizzle-kit doesn't connect to my postgres that is working on docker. My migrate() function is however working partially. It connects but before doing any meaningful work it drops with error from postgres.
3 replies