Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: The 'cache' field on 'RequestInitializerDict' is not implemented. #1

Open
Rahul-codoffer opened this issue Jul 20, 2024 · 0 comments

Comments

@Rahul-codoffer
Copy link

I'm trying to use the cloudflare worker and drizzle with the Planet scale instead of the D1 and getting this error

Error: The 'cache' field on 'RequestInitializerDict' is not implemented.
at checkURL (file:///Users/Sites/workers/.wrangler/tmp/bundle-ttBx9L/checked-fetch.js:9:9)
at Object.fetch (file:///Users/Sites/workers/.wrangler/tmp/bundle-ttBx9L/checked-fetch.js:27:3)
at postJSON (file:///Users/Sites/workers/node_modules/@planetscale/database/dist/index.js:125:28)
at Connection.execute (file:///Users/Sites/workers/node_modules/@planetscale/database/dist/index.js:81:29)
at Client.execute (file:///Users/Sites/workers/node_modules/@planetscale/database/dist/index.js:23:34)
at PlanetScalePreparedQuery.execute (file:///Users/Sites/workers/node_modules/src/planetscale-serverless/session.ts:87:33)
at MySqlSelectBase.execute (file:///Users/Sites/workers/node_modules/src/mysql-core/query-builders/select.ts:961:25)
at MySqlSelectBase.then (file:///Users/Sites/workers/node_modules/src/query-promise.ts:31:15)

do you have any idea with this ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant