Jsx
Explore posts from serversDTDrizzle Team
•Created by Jsx on 3/24/2024 in #help
working with many to many
I have a user table, course table along with the course_member which is a join table. How to get all the courses where userId is provided
Tables schema along with relation
3 replies
CDCloudflare Developers
•Created by Jsx on 7/14/2023 in #workers-help
Caching R2 using worker cache api
Hello I was going through the docs and saw we can cache r2 resource through workers using the cache api.
I have tried to implement. It's working fine in local developement. I am getting CF-Cache-Status in local but when I am deploying I am not seeing any Cache Status header with the worker domain.
Here's the code
4 replies
CDCloudflare Developers
•Created by Jsx on 5/31/2023 in #workers-help
Accessing Environment Variable in router.ts
Hello I have configured my worker using create cloudflare and worker with route.
I am able to access it in worker.ts but I want the access in the router.ts as there I am performing action. Please help me how can I access those env vars. I am using itty-router
3 replies