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

> We think its because of D1

We think its because of D1
Did you see specific errors?...

Yeah the batteries included things are

Yeah the batteries included things are what gradually I would like us (personal opinion) to also make available for DOs, and then the choice is simpler. If D1 got dynamic bindings then it would be 90% identical to DOs, and duplicated effort from all fronts. But, yeah, everything you say is a common internal debate we are having.

Thread

Migrations, because better auth wants an exported auth object, which is not possible with how bindings with d1 work

How accurate are the numbers in the "

How accurate are the numbers in the "Queries" section of the "Overview"? I have a query which always shows zero rows read. Yet I know from testing (and logging) that the query is successful and would return data. It must have read some rows. Yet it's always zero. Is this just an analytics issue, rounding error (I think the query would read two rows when successful)?

Currently the column Rows Read is using

Currently the column Rows Read is using averages, so 45.6K*662=30M, which matches what you said. We should probably make that sum as well, but it might confuse folks with the count in that case.

Hello y'all, i used d1 export for one of

Hello y'all, i ran d1 export for one of my databases and now it says Error in worker: Error: D1_ERROR: Currently processing a long-running export. and i'm not sure it's currently processing because it errored out on my terminal. Is there a way to cancel this process?

Durable Object Storage

This is so much clearer!! Would it be possible to maybe clarify the same for durable objects sql api? I’ve been trying to figure out if sql methods protect against sql injection https://developers.cloudflare.com/durable-objects/api/storage-api/#returns...

More specifically, if the write requests

More specifically, if the write requests are originating from a Queue, staggering the requests becomes more important.

small suggestion: there should be a pop

small suggestion: there should be a pop up warning if you try to leave d1 studio with unsaved edits

Hey folks, we released a small

Hey folks, we released a small improvement last week for read replication and would love to get some feedback, or unexpected encountered issues. 🙏 Until last week, requests flowing through your replicas would wait for the replica to startup instead of using the primary until the replica is up and ready, which led to some latency increase for applications without constant traffic. As of last week, requests now flow to the primary instance while replicas boot up, therefore latencies are expected to be better. 🚀 Keep in mind that if your application is doing less than 1 query per minute, your primary will most likely have to cold start often too, this didn't change, so in those cases you will anyway have the same latencies. ...

If you mean interleaving JavaScript code

If you mean interleaving JavaScript code and SQL within the same transaction, then not at the moment. You can execute multiple SQL queries in a single transaction using the batch() function, though, if that fits your use-case. Otherwise if you need a lot of JS mixed with SQL, using SQLite Durable Objects is more suitable....

Can you elaborate a bit on this one?

Can you elaborate a bit on this one? This doesn't sound like expected behavior.

Released an update today that removes

Released an update today that removes the "Tables" tab from your D1 instance and replaces it with a new "Explore Data" button at the top right to take you into our more fully featured SQL Studio to interact with your data. 🚀
No description

I suppose it isn't that simple to

I suppose it isn't that simple to enforce idempotency

I have one table in which I have auth

I have one table in which I have auth column when i query it into worker and fetch value in that column it gets converted in to **. what is this and how can I get actual value?
No description

love the new design and UX! One minor

love the new design and UX! One minor a11y comment about these: https://i.james.pub/file/2025/05/387f3575-9417-4610-a50c-c54484166e0f.png github/deploy are buttons that open new tabs so ideally should just be anchors so folks can middle click them and accessibility tooling understand what they do a little better :MeowHeartCloudflare:...

D1 UI feedback

hey all — brandon here (previously from Outerbase) we just shipped a new experience for D1 including our data studio. it's read only for now, but an editable experience is coming soon! would love to get your thoughts!...
No description

Seems like the only solution is to tell

Seems like the only solution is to tell our users we lost our data and never use cf again

Hey all, I saw @yusukebe's recent Hono

Hey all, I saw @yusukebe's recent Hono Vite template and wrote a prompt to add D1 (with drizzle), the prompt worked really well for me — would love to hear if it works for others too! https://ctxs.ai/weekly/d1-database-setup-for-classifieds-app-a0m502...
Next