Skip to content

Commit

Permalink
Setting up redirects, fixing broken link.
Browse files Browse the repository at this point in the history
  • Loading branch information
Oxyjun committed Nov 22, 2024
1 parent 52dfe8e commit c6a77bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions public/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@
/constellation/ /workers-ai/ 301

# D1
/d1/d1-api/ /d1/rest-api/d1-api 301/
/d1/client-api/ /d1/build-with-d1/d1-client-api/ 301
/d1/build-with-d1/d1-client-api/ /d1/worker-api/ 301
/d1/learning/using-d1-from-pages/ /pages/functions/bindings/#d1-databases 301
Expand All @@ -280,6 +281,7 @@
/d1/reference/client-api/ /d1/build-with-d1/d1-client-api/ 301
/d1/reference/environments/ /d1/configuration/environments/ 301
/d1/reference/metrics-analytics/ /d1/observability/metrics-analytics/ 301
/d1/reference/wrangler-commands/ / /d1/rest-api/wrangler-commands/ 301
/d1/how-to/ /d1/build-with-d1/ 301
/d1/how-to/query-databases/ /d1/build-with-d1/d1-client-api/ 301
/d1/how-to/using-indexes/ /d1/build-with-d1/use-indexes/ 301
Expand All @@ -295,6 +297,7 @@
/d1/configuration/local-development/ /d1/build-with-d1/local-development/ 301
/d1/configuration/remote-development/ /d1/build-with-d1/remote-development/ 301
/d1/build-with-d1/import-data/ /d1/build-with-d1/import-export-data/ 301
/d1/build-with-d1/d1-client-api/ /d1/build-with-d1/query-d1/ 301
/d1/reference/database-commands/ /d1/reference/sql-statements/ 301
/d1/reference/sql-statements/ /d1/sql-api/sql-statements/ 301

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/d1/build-with-d1/query-d1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ There are three primary ways you can query a D1 database:

1. Using [D1 Workers Binding API](/d1/worker-api/) in your code.
2. Using [D1 REST API](/api/operations/cloudflare-d1-create-database).
3. Using [D1 Wrangler commands](/d1/wrangler-commands/).
3. Using [D1 Wrangler commands](/d1rest-api/wrangler-commands/).

## Query D1 with Workers Binding API

Expand Down

0 comments on commit c6a77bb

Please sign in to comment.