Talking about cloudflare in general :NotLikeThis:
Talking about cloudflare in general :NotLikeThis:



sam? It just says it's not available but no comments on weather there are plans or not. (https://developers.cloudflare.com/d1/configuration/data-location/#available-location-hints)workerd repo like https://github.com/cloudflare/workerd/blob/main/src/workerd/util/sqlite.c%2B%2B, but if you're new to D1, the Getting Started guide is going to the best place to start: https://developers.cloudflare.com/d1/get-started/
import { defineWorkersConfig } from "@cloudflare/vitest-pool-workers/config";
export default defineWorkersConfig({
test: {
globals: true,
poolOptions: {
workers: {
isolatedStorage: true,
wrangler: { configPath: "./wrangler.toml" },
},
},
},
});import { Hono } from 'hono'
export type Env = {
DB: D1Database
}
const app = new Hono<{ Bindings: Env}>()
app.get('/', async (c) => {
console.log(c.env.DB)
return c.text("Hello world!")
})
export default appsamworkerd