How to use hyperdrive with Pages _worker.js?

How to bind hyperdrive to a cloudflare page using _worker.js? I read this material https://developers.cloudflare.com/pages/platform/functions/bindings/ but it seems use of hyperdrive not yet not indicated here. Is there a workaround?
Bindings · Cloudflare Pages docs
A binding enables your Pages Functions to interact with resources on the Cloudflare developer platform. Use bindings to integrate your Pages Functions …
2 Replies
James
James14mo ago
Unfortunately not really. Pages doesn’t support Hyperdrive bindings yet, nor the necessary node_compat build step for most driver implementations today. (Whoops my discord client was being silly and didn’t see any other replies here. Sorry Skye!)
Bangonkali
BangonkaliOP14mo ago
thanks guys. really helpful.. i was banging my head around this. im working on a qwik project and having this on pages _workers.js would be greatly appreciated. is there any plans on having this on pages or not at all in the next 2 years?
Want results from more Discord servers?
Add your server