Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

`cf d1` has no export command (no replacement for `wrangler d1 export`)

Aperta
#199 1 commento 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
cli, databases

Direzione di ricerca

Start with the cf d1 --help entry point and compare its commands with Wrangler's wrangler d1 export behavior, including --table, --no-schema, and --no-data. Check the Wrangler-to-cf reference's "Commands not yet supported" list as well. Done means the export command produces the requested SQL output, or the reference explicitly records it as unsupported until implementation is available.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

upstream

cf version: 1.0.0-beta.12

What happens

cf d1 has no export command. cf d1 --help lists create, delete, edit, get, list, migrations, query, raw, time-travel and update, and cf cli search "export d1 database to sql file" returns only query/raw/update/create/get. The Wrangler-to-cf reference's "Commands not yet supported" list doesn't name it.

Why it matters

Taking a SQL dump of a production database before a risky change is a routine operator step (wrangler d1 export <db> --remote --output <file>). Without it, a migrated project has to keep Wrangler installed for this one command.

Ask

  1. cf d1 export <database-id> --output <file>, with Wrangler's --table, --no-schema and --no-data options.
  2. Until then, add it to the "not yet supported" list.
Lingua principale
TypeScript
Stelle
853
Fork
42
Merge medio
17h 57m
PR unite (30g)
146

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cloudflare/cf

Tutte le issue di cloudflare/cf

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.