You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/d1/tutorials/import-to-d1-from-csv/index.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ In this tutorial, you will learn how to import a CSV file to D1 using the Wrangl
20
20
21
21
<Renderfile="prereqs"product="workers" />
22
22
23
-
## 1. Install and Verify Wrangler
23
+
## 1. Install and verify Wrangler
24
24
25
25
You'll use Wrangler to interact with D1. If you don't have it installed, follow the steps in the [Wrangler installation guide](/workers/wrangler/install-and-update/).
26
26
@@ -30,7 +30,7 @@ If you're unsure if Wrangler is installed, run the following command to verify:
30
30
wrangler --version
31
31
```
32
32
33
-
## 2. Set up a D1 Database
33
+
## 2. Set up a D1 database
34
34
35
35
You can create a D1 database using the [Wrangler CLI](/workers/wrangler/install-and-update/) using the following command:
D1 does not support importing CSV files directly. You need to convert your CSV to a SQL file. If you don't have a CSV file, you can use the NASA meteorite dataset from [here](https://data.nasa.gov/Space-Science/Meteorite-Landings/gh4g-9sfh/about_data).
53
+
D1 does not support importing CSV files directly. You need to convert your CSV to a SQL file. If you don't have a CSV file, you can use the NASA meteorite dataset available on the [NASA data portal](https://data.nasa.gov/Space-Science/Meteorite-Landings/gh4g-9sfh/about_data).
54
54
55
55
You'll be using SQLite to convert your CSV to a SQL file. For instructions on installing SQLite, refer to the [SQLite installation guide](https://www.sqlite.org/download.html).
0 commit comments