Skip to content

Commit 30bd275

Browse files
committed
D1 tutorial: Clarify that bindings step is automated by CLI
1 parent ea945e6 commit 30bd275

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/content/docs/d1/get-started.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ For reference, a good database name:
171171
## 3. Bind your Worker to your D1 database
172172

173173
You must create a binding for your Worker to connect to your D1 database. [Bindings](/workers/runtime-apis/bindings/) allow your Workers to access resources, like D1, on the Cloudflare developer platform.
174+
If you used the CLI to create the database in step 2, it will have already updated the bindings and you can skip this step. If you created the database using the dashboard, you will need to do this manually.
174175

175176
To bind your D1 database to your Worker:
176177

0 commit comments

Comments
 (0)