Sam
Explore posts from serversDTDrizzle Team
•Created by Sam on 1/31/2024 in #help
Performance advice
I have mostly setup indexes on everything but I believe it is probably due to running lots of dependant queries in one serverless function
11 replies
DTDrizzle Team
•Created by Sam on 1/31/2024 in #help
Performance advice
Maybe if I continue to run into issue I should delegate some of the work to background jobs, and also I could consider not awaiting the promise to resolve if non-dependant queries.
11 replies
DTDrizzle Team
•Created by Sam on 1/31/2024 in #help
Performance advice
Thank you appreciate your advice here!
11 replies
DTDrizzle Team
•Created by Sam on 1/31/2024 in #help
Performance advice
Awesome do you think this approach makes more sense than using something like console.time ?
11 replies
DTDrizzle Team
•Created by Sam on 1/31/2024 in #help
Performance advice
Any suggestions on easiest way to trace that?
For example is there a way I can inspect the sql being generated by drizzle and then run in my local sql app (table plus)
11 replies
DTDrizzle Team
•Created by Sam on 12/11/2023 in #help
Running concurrent queries
Thanks for the helpful answers as always @Angelelz !
5 replies
DTDrizzle Team
•Created by Sam on 11/16/2023 in #help
Explaining the differences between .references() and relations function
Hi @Angelelz so to clarify .references() creates a foreign key constraint but relations does not? But they can also work fairly interchangably in databases that support foreign key contraints.
5 replies