SQLite DOs are kind of dynamic bindings? They have most of the features, minus read replicas, but wi
SQLite DOs are kind of dynamic bindings? They have most of the features, minus read replicas, but with scripting next to the DB
D1_ERROR: D1 DB storage operation exceeded timeout which caused object to be resetD1_ERROR: Network connection lost.D1_ERROR: internal error; reference = 3n7qu7dkdd0atgp7vioes6a5 589bafbd-d600-4e01-8879-7443811d45a1 if that's of any use.
wrangler pages dev may not work as expected, even when preview_database_id is set in wrangler.toml and --persist-to is used in the dev script. Runtime operations (e.g., API calls creating new data) might connect to a new, blank D1 instance instead of the schema-initialized, persisted one. This leads to "no such table" errors and data loss between development server restarts.So you've to use D1 for that with different concept. Cloudflare database (D1, DO) is broken. D1 has different limitation while DO has differentI wonder why you say this. Actually, D1 has exactly the same limitations as a single Durable Object, and even more since your worker code is remotely from the actual storage and you don't have things like transactions across queries interleaved with JS code, whereas in the DO case your code runs next to the storage and is fast. Resource limits wise, a D1 database IS a single Durable Object, so zero differences.
this in each new constructor instanceD1_ERROR: D1 DB storage operation exceeded timeout which caused object to be reset. .... Or just accept and move on?This is definitely different from the messaging that I've heard from other Cloudflare folks recentlyI have been in this channel for 9 months now and we never gave an ETA for dynamic bindings. It was (and still is) one of the future possible features. But, I don't want folks to start designing their new applications now depending on a feature that does not yet exist and is not going to land within say the next quarter. That's my viewpoint.
SQLite in DO's is a nice idea, but it's fairly unusable right now when you can't actually view DO instances and cannot view what is in the databases....You cannot (yet) view them natively in the Cloudflare dashboard but there are several open source solutions to inspect your Durable Objects. For example, you could use something like https://github.com/outerbase/browsable-durable-object