I used the web dashboard to directly apply these changes to prod, and everything was fine until 17:0
I used the web dashboard to directly apply these changes to prod, and everything was fine until 17:00
EXPLAIN you are hopefully going to see if the database does a scan or if it's uses an index.Note that the 10 GB limit of a D1 database cannot be further increased.


pnpx wrangler d1 create cove It doesn't seem like I can use this with a --local flag, so it doesn't seem like we can truly use this as local development only. As in NOTHING created remote.--remote flag when executing your command for example wrangler d1 execute YOUR_DB_NAME --file ./database/script.sql --remoteEXPLAINpnpx wrangler d1 create cove--local--remotewrangler d1 execute YOUR_DB_NAME --file ./database/script.sql --remote[request error] [unhandled] [500] D1_ERROR: D1 DB storage operation exceeded timeout which caused object to be reset. let cached_db = null;
export const useDb = () => {
if (!cached_db) {
const binding = process?.env?.DB || globalThis?.__env__?.DB || globalThis?.DB
cached_db = drizzle(binding, { schema })
}
return cached_db
}