hey guys, are there any tutorials out there that focus on explaining how to insert a row into a clou
hey guys, are there any tutorials out there that focus on explaining how to insert a row into a cloudflare d1 database with a cloudflare worker ?


Currentlydo you have a recent version of wrangler?
You can use https://github.com/cacjs/cac for building CLI, and https://github.com/natemoo-re/clack for interactive prompts like selecting a database
clack?wrangler init
wrangler d1 migrations feature request aboveapply on local instead of remote. Just tested it againwrangler d1 migrations list --local or --remote to check if it's upwrangler d1 migrations applydrizzle-kit generate:sqlite script command for drizzle, instead of wrangler d1 migrations createstatement.run takes about 30 - 32ms for very simple queries (like adding or deleting a row to a table with 5 columns). Is that expected?// Path: drizzle.config.ts
import { defineConfig } from "drizzle-kit"
export default defineConfig({
schema: "./drizzle/schema.ts",
out: "./migrations",
driver: "d1",
verbose: true,
strict: true
})clackwrangler initwrangler d1 migrations