Advertisement · 728 × 90

Posts by Leonardo Dominguez

i feel more comfortable using the sync api mostly because the underlying sqlite engine is sync and i'm good with the trade-offs cloudflare ended up. also, i'm not sure if there's any performance implications with drizzle async api

1 year ago 1 0 0 0

yeah, basically it. That tell the worker to block all requests until the migrations have ran.

1 year ago 0 0 0 0

ya, i've been using DO sqlite for some time now, my question was mostly directed to drizzle interface being async when the underlying storage is sync, but i just found out about drizzle's sync api interface (.run, .values, .all, .get), etc.

1 year ago 0 0 1 0

now that you are here, is there any reason why drizzle API is async when the DO sqlite is sync?

1 year ago 2 0 1 0

don't you need to block concurrency when running migrations? like, wouldn't you have a problem if you get two calls to the same DO while running the migrations?

1 year ago 1 0 1 0

TIL that there was a drizzle adapter for DO, time to migrate all my sql to drizzle haha

1 year ago 0 0 0 0