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: sqlite-cloud/connect-cluster.mdx
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,7 @@ slug: connect-cluster
8
8
9
9
SQLite databases in SQLite Cloud are distributed across a cluster of nodes. Each cluster comes with a multi-region load balancer that routes traffic to the nearest appropriate node.
10
10
11
-
For this reason, we strongly recommend connecting to your cluster via your project connection string. To retrieve your project connection string, navigate to the **Nodes** page and click on any node.
Copy file name to clipboardExpand all lines: sqlite-cloud/create-database.mdx
+17-4Lines changed: 17 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ status: publish
6
6
slug: create-database
7
7
---
8
8
9
-
SQLite Cloud allows you to import existing SQLite Databases, or create a new database in SQLite Cloud by importing an existing SQLite database, or using the SQLite Cloud UI, API, or client libraries.
9
+
You can import an existing SQLite databases, or create new databases using the SQLite Cloud UI, API, or client libraries.
10
10
11
11
## Importing an existing SQLite database
12
12
SQLite Cloud allows you to import existing SQLite databases into the platform.
@@ -27,7 +27,7 @@ To create a new database from the SQLite Cloud UI, navigate to the Databases tab
27
27
The default encoding is set to UTF-8, and the default page size is 4096KB.
28
28
29
29
### From the API
30
-
To create a new database or upload an existing database via [Weblite](#), our REST API, you can make a request with the following parameters:
30
+
To create a new database or upload an existing database via [Weblite](/docs/weblite), our REST API, you can make a request with the following parameters:
Copy file name to clipboardExpand all lines: sqlite-cloud/platform/edge-functions.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ status: publish
6
6
slug: edge-functions
7
7
---
8
8
9
-
Edge Functions are server-side functions that run directly within your database environment. Edge functions in SQLite Cloud ensure maximum performance and minimal latency by running functions on the same server as your database.
9
+
Edge functions let you define custom logic to run on the same nodes as your database files for ultra-fast performance.
10
10
11
11
You can write edge functions directly in the SQLite Cloud dashboard using JavaScript, TypeScript, or SQL. Importing modules is not currently supported.
Copy file name to clipboardExpand all lines: sqlite-cloud/write-data.mdx
+3-18Lines changed: 3 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,22 +6,7 @@ status: publish
6
6
slug: write-data
7
7
---
8
8
9
-
After you've created a database in SQLite Cloud, you can start writing data to it. You can write data to your cluster using the SQLite Cloud UI, API, or client libraries.
10
-
11
-
## Upload an existing SQLite Database
12
-
You can upload an existing SQLite database to your cluster using the SQLite Cloud UI or the Weblite API.
13
-
14
-
To upload a local SQLite database via weblite, make a POST request to the `/v2/weblite/<database-name>.sqlite` endpoint.
To upload a local SQLite database via the SQLite Cloud UI, navigate to the Database tab in the left-hand navigation. Click the "Upload Database" button and select your local SQLite database.
9
+
After you've created a database in SQLite Cloud, you can start writing data to it.
25
10
26
11
## Writing data with the SQLite Cloud UI
27
12
Navigate to the console tab in the left-hand navigation. From here, you can run SQL commands against your cluster. Use the optional dropdown menus to select a database and table.
0 commit comments