Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

It's definitely being worked on or

It's definitely being worked on or planned internally but we don't really have a way to track externally

can I have a look at the toml file also

can I have a look at the toml file? also, are you using pages or workers?

forkable project with d1

heya, good folks of d1! I'm currently building a project on cloudflare workers+pages+d1 that I'd like to be forkable. So the ideal workflow for the users is: 1. fork the repo of my deployed solution 2. set things up...

rows written = 0?

Since today rows_written and rows_read is always 0 and the sql action wont get executed when running with "EXPLAIN QUERY PLAN". I have changed nothing in my code and it worked perfectly fine 2 days ago. Anyone else experiencing this?

Hey Guys i have a db and corresponding

Hey Guys, i have a db and corresponding preview, but now i can't apply mirgations since it returns an error
āœ˜ [ERROR] Can't find a DB with name/binding 'preview-mydb' in local config. Check info in wrangler.toml...
āœ˜ [ERROR] Can't find a DB with name/binding 'preview-mydb' in local config. Check info in wrangler.toml...
...

Is there anyway to use D1 with TablePlus

Is there anyway to use D1 with TablePlus?

Hono-Workers

Hi everyone I have created a worker with the help of wrangler cli and bind with D1 Using Hono And i am trying to send request with payload (i send data in request -> body) from client side Can anyone tell me how can i get that payload in my route?...

```js

```js export default { async fetch(request, env, ctx) { let res = await env.MYDATABASE.exec("PRAGMA table_list") console.log(res)...

I would never say features are

I would never say features are ā€œcompleteā€, even at GA. Thereā€™s a near infinite list of things to build.

I just started migrating from KV to D1 I

I just started migrating from KV to D1. I can create & access the database fine in the web ui, but I cannot access it via e.g. wrangler d1 list (getting the authentication error 10000 that somebody already reported on github). Is there a workaround for it?

is d1 down right now getting a failed to

is d1 down right now? getting a "failed to reach database. please try again later" status

Speaking of this was just bouta ask you

Speaking of this was just bouta ask... you ever run into an issue where deployed works perfect as expected but locally it will say the command worked but it did nothing? šŸ¤” Not sure if this is the proxy somehow like caching a response or if its a miniflare issue...

Hey there kind of cross posting this as

Hey there, kind of cross-posting this as I posted this already in #next-on-pages. Yet I am unsure if this is actually a D1 or Pages / Next issue. We encouter the following error on a deployed app only. No issues locally with Wrangler (3.5.0) and the same app code: ```text "Error: D1_TYPE_ERROR: Type 'object' not supported for value 'Tue Sep 26 2023 12:48:07 GMT+0000 (Coordinated Universal Time)' at D1PreparedStatement.bind (bundledWorker-0.17018918700489616.mjs:898:17) at s.executeQuery (next-on-pages-dist/webpack/9b3bdf9eee839442fe37ed586efaff1d.js:12:44988)...

With wrangler v3 ` persist to path to

With wrangler v3, --persist-to=./path-to-persist-db is not working as expected. I don't see any directory being populated with the sqlite DB...

What is your query A SELECT isnā€™t

What is your query? A SELECT isnā€™t guaranteed to be not write rows.

Sure

Sure. Account ID: cfd355bcff7e6af6838743ae944184b0 DB ID: e707d84e-7dd9-4c4b-940a-63ea75a981fb And some extras: Ray ID of a failed request: 7ecd59bfdc728ec8, timestamps are 1690381931502 (request) and 1690381936556 (D1 error)...

Or Pages functions but yeah if you use

Or Pages functions, but yeah, if you use the adapter correctly.