PWSey
DTDrizzle Team
•Created by PWSey on 10/30/2023 in #help
Using db. causes the whole app to hang forever.
It was because of getFeedbacks, moving that function to another file fixed it for some reason
2 replies
DTDrizzle Team
•Created by codefork on 10/14/2023 in #help
SSL/TLS error when running push:mysql with planetscale
I believe you need to add to the end of the Database url
Example
2 replies
DTDrizzle Team
•Created by PWSey on 10/23/2023 in #help
How to get a similar result of db.query but with extra aggregation and using select
I think I got it, thanks again!
12 replies
DTDrizzle Team
•Created by PWSey on 10/23/2023 in #help
How to get a similar result of db.query but with extra aggregation and using select
also how can I orderBy totalVotes when I order by feedbackId it seems to be working for some reason not sure, I was hoping I could orderBy totalVotes
12 replies
DTDrizzle Team
•Created by PWSey on 10/23/2023 in #help
How to get a similar result of db.query but with extra aggregation and using select
I think I got it working, thanks the posts you have mentioned they were very helpful, I am not sure as you mentioned doing a lot in a single query I just did not want to do another trip to the database I believe it would be not ideal? I will be doing filtering but I want to do it in the database level as then when I implement pagination it will work properly.
Thanks again!
12 replies
DTDrizzle Team
•Created by PWSey on 10/23/2023 in #help
How to get a similar result of db.query but with extra aggregation and using select
The objects for reference with db.select:
And this is with db.query:
12 replies