Skip to content

Commit 518bd26

Browse files
committed
move serverless driver docs to the develop folder
1 parent fcd5a8b commit 518bd26

11 files changed

Lines changed: 16 additions & 16 deletions

TOC-develop.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@
4747
- [C#](/develop/dev-guide-sample-application-cs.md)
4848
- [WordPress](/develop/dev-guide-wordpress.md)
4949
- Serverless Driver ![BETA](/media/tidb-cloud/blank_transparent_placeholder.png)
50-
- [TiDB Cloud Serverless Driver](/tidb-cloud/serverless-driver.md)
51-
- [Node.js Example](/tidb-cloud/serverless-driver-node-example.md)
52-
- [Prisma Example](/tidb-cloud/serverless-driver-prisma-example.md)
53-
- [Kysely Example](/tidb-cloud/serverless-driver-kysely-example.md)
54-
- [Drizzle Example](/tidb-cloud/serverless-driver-drizzle-example.md)
50+
- [TiDB Cloud Serverless Driver](/develop/serverless-driver.md)
51+
- [Node.js Example](/develop/serverless-driver-node-example.md)
52+
- [Prisma Example](/develop/serverless-driver-prisma-example.md)
53+
- [Kysely Example](/develop/serverless-driver-kysely-example.md)
54+
- [Drizzle Example](/develop/serverless-driver-drizzle-example.md)
5555
- Design Database Schema
5656
- [Overview](/develop/dev-guide-schema-design-overview.md)
5757
- [Create a Database](/develop/dev-guide-create-database.md)

tidb-cloud/serverless-driver-drizzle-example.md renamed to develop/serverless-driver-drizzle-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ summary: Learn how to use TiDB Cloud serverless driver with Drizzle.
55

66
# TiDB Cloud Serverless Driver Drizzle Tutorial
77

8-
[Drizzle ORM](https://orm.drizzle.team/) is a lightweight and performant TypeScript ORM with developer experience in mind. Starting from `drizzle-orm@0.31.2`, it supports [drizzle-orm/tidb-serverless](https://orm.drizzle.team/docs/get-started-mysql#tidb-serverless), enabling you to use Drizzle over HTTPS with [TiDB Cloud serverless driver](/tidb-cloud/serverless-driver.md).
8+
[Drizzle ORM](https://orm.drizzle.team/) is a lightweight and performant TypeScript ORM with developer experience in mind. Starting from `drizzle-orm@0.31.2`, it supports [drizzle-orm/tidb-serverless](https://orm.drizzle.team/docs/get-started-mysql#tidb-serverless), enabling you to use Drizzle over HTTPS with [TiDB Cloud serverless driver](/develop/serverless-driver.md).
99

1010
This tutorial describes how to use TiDB Cloud serverless driver with Drizzle in Node.js environments and edge environments.
1111

tidb-cloud/serverless-driver-kysely-example.md renamed to develop/serverless-driver-kysely-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ summary: Learn how to use TiDB Cloud serverless driver with Kysely.
55

66
# TiDB Cloud Serverless Driver Kysely Tutorial
77

8-
[Kysely](https://kysely.dev/docs/intro) is a type-safe and autocompletion-friendly TypeScript SQL query builder. TiDB Cloud offers [@tidbcloud/kysely](https://github.com/tidbcloud/kysely), enabling you to use Kysely over HTTPS with [TiDB Cloud serverless driver](/tidb-cloud/serverless-driver.md). Compared with the traditional TCP way, [@tidbcloud/kysely](https://github.com/tidbcloud/kysely) brings the following benefits:
8+
[Kysely](https://kysely.dev/docs/intro) is a type-safe and autocompletion-friendly TypeScript SQL query builder. TiDB Cloud offers [@tidbcloud/kysely](https://github.com/tidbcloud/kysely), enabling you to use Kysely over HTTPS with [TiDB Cloud serverless driver](/develop/serverless-driver.md). Compared with the traditional TCP way, [@tidbcloud/kysely](https://github.com/tidbcloud/kysely) brings the following benefits:
99

1010
- Better performance in serverless environments.
1111
- Ability to use Kysely in edge environments.
File renamed without changes.

tidb-cloud/serverless-driver-prisma-example.md renamed to develop/serverless-driver-prisma-example.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ summary: Learn how to use TiDB Cloud serverless driver with Prisma ORM.
55

66
# TiDB Cloud Serverless Driver Prisma Tutorial
77

8-
[Prisma](https://www.prisma.io/docs) is an open source next-generation ORM (Object-Relational Mapping) that helps developers interact with their database in an intuitive, efficient, and safe way. TiDB Cloud offers [@tidbcloud/prisma-adapter](https://github.com/tidbcloud/prisma-adapter), enabling you to use [Prisma Client](https://www.prisma.io/docs/concepts/components/prisma-client) over HTTPS with [TiDB Cloud serverless driver](/tidb-cloud/serverless-driver.md). Compared with the traditional TCP way, [@tidbcloud/prisma-adapter](https://github.com/tidbcloud/prisma-adapter) brings the following benefits:
8+
[Prisma](https://www.prisma.io/docs) is an open source next-generation ORM (Object-Relational Mapping) that helps developers interact with their database in an intuitive, efficient, and safe way. TiDB Cloud offers [@tidbcloud/prisma-adapter](https://github.com/tidbcloud/prisma-adapter), enabling you to use [Prisma Client](https://www.prisma.io/docs/concepts/components/prisma-client) over HTTPS with [TiDB Cloud serverless driver](/develop/serverless-driver.md). Compared with the traditional TCP way, [@tidbcloud/prisma-adapter](https://github.com/tidbcloud/prisma-adapter) brings the following benefits:
99

1010
- Better performance of Prisma Client in serverless environments
1111
- Ability to use Prisma Client in edge environments
@@ -18,7 +18,7 @@ This tutorial describes how to use [@tidbcloud/prisma-adapter](https://github.co
1818
1919
## Install
2020

21-
You need to install both [@tidbcloud/prisma-adapter](https://github.com/tidbcloud/prisma-adapter) and [TiDB Cloud serverless driver](/tidb-cloud/serverless-driver.md). You can install them using [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) or your preferred package manager.
21+
You need to install both [@tidbcloud/prisma-adapter](https://github.com/tidbcloud/prisma-adapter) and [TiDB Cloud serverless driver](/develop/serverless-driver.md). You can install them using [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) or your preferred package manager.
2222

2323
Taking npm as an example, you can run the following commands for installation:
2424

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,4 +347,4 @@ Currently, using serverless driver has the following limitations:
347347

348348
## What's next
349349

350-
- Learn how to [use TiDB Cloud serverless driver in a local Node.js project](/tidb-cloud/serverless-driver-node-example.md).
350+
- Learn how to [use TiDB Cloud serverless driver in a local Node.js project](/develop/serverless-driver-node-example.md).

tidb-cloud/connect-to-tidb-cluster-serverless.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ After your {{{ .starter }}} or {{{ .essential }}} cluster is created on TiDB Clo
2323

2424
TiDB Cloud provides a Data Service feature that enables you to connect to your {{{ .starter }}} cluster hosted on AWS via an HTTPS request using a custom API endpoint. Unlike direct connections, Data Service accesses your cluster data via a RESTful API rather than raw SQL.
2525

26-
- [Serverless Driver (beta)](/tidb-cloud/serverless-driver.md)
26+
- [Serverless Driver (beta)](/develop/serverless-driver.md)
2727

2828
TiDB Cloud provides a serverless driver for JavaScript, which allows you to connect to your {{{ .starter }}} or {{{ .essential }}} cluster in edge environments with the same experience as direct connections.
2929

tidb-cloud/integrate-tidbcloud-with-cloudflare.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ summary: Learn how to deploy Cloudflare Workers with TiDB Cloud.
77

88
[Cloudflare Workers](https://workers.cloudflare.com/) is a platform that allows you to run code in response to specific events, such as HTTP requests or changes to a database. Cloudflare Workers is easy to use and can be used to build a variety of applications, including custom APIs, serverless functions, and microservices. It is particularly useful for applications that require low-latency performance or need to scale quickly.
99

10-
You may find it hard to connect to TiDB Cloud from Cloudflare Workers because Cloudflare Workers runs on the V8 engine which cannot make direct TCP connections. You can use [TiDB Cloud serverless driver](/tidb-cloud/serverless-driver.md) to help you connect to Cloudflare Workers over HTTP connection.
10+
You may find it hard to connect to TiDB Cloud from Cloudflare Workers because Cloudflare Workers runs on the V8 engine which cannot make direct TCP connections. You can use [TiDB Cloud serverless driver](/develop/serverless-driver.md) to help you connect to Cloudflare Workers over HTTP connection.
1111

1212
This document shows how to connect to Cloudflare Workers with TiDB Cloud serverless driver step by step.
1313

tidb-cloud/integrate-tidbcloud-with-netlify.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ For a TiDB Cloud Dedicated cluster, you can get the connection string only from
226226

227227
## Use the edge function
228228

229-
The example app mentioned in the section above runs on the Netlify serverless function. This section shows you how to use the edge function with [TiDB Cloud serverless driver](/tidb-cloud/serverless-driver.md). The edge function is a feature provided by Netlify, which allows you to run serverless functions on the edge of the Netlify CDN.
229+
The example app mentioned in the section above runs on the Netlify serverless function. This section shows you how to use the edge function with [TiDB Cloud serverless driver](/develop/serverless-driver.md). The edge function is a feature provided by Netlify, which allows you to run serverless functions on the edge of the Netlify CDN.
230230

231231
To use the edge function, take the following steps:
232232

tidb-cloud/integrate-tidbcloud-with-vercel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This guide describes how to connect your TiDB Cloud clusters to Vercel projects
1818

1919
For both of the preceding methods, TiDB Cloud provides the following options for programmatically connecting to your database:
2020

21-
- Cluster: connect your TiDB Cloud cluster to your Vercel project with direct connections or [serverless driver](/tidb-cloud/serverless-driver.md).
21+
- Cluster: connect your TiDB Cloud cluster to your Vercel project with direct connections or [serverless driver](/develop/serverless-driver.md).
2222
- [Data App](/tidb-cloud/data-service-manage-data-app.md): access data of your TiDB Cloud cluster through a collection of HTTP endpoints.
2323

2424
## Prerequisites

0 commit comments

Comments
 (0)