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
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +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-3Lines changed: 17 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,23 @@ slug: create-database
8
8
9
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.
10
10
11
-
## Importing an existing SQLite database
12
-
SQLite Cloud allows you to import existing SQLite databases into the platform.
11
+
## Uploading an existing SQLite Database
12
+
### Via HTTP API
13
+
You can upload an existing SQLite database to your cluster using the SQLite Cloud UI or the Weblite API.
13
14
14
-
Note that you can download, modify, and re-upload the database file at any time. You can also upload encrypted SQLite databases if you used the official SEE SQLite encryption extension.
15
+
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.
26
+
27
+
### Via Dashboard UI
16
28
To import a database from the UI, navigate to the Databases tab and click the "Upload Database" button.
Copy file name to clipboardExpand all lines: sqlite-cloud/write-data.mdx
+6-21Lines changed: 6 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,21 +8,6 @@ slug: write-data
8
8
9
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
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.
25
-
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.
28
13
@@ -31,11 +16,11 @@ Navigate to the console tab in the left-hand navigation. From here, you can run
31
16
### Example
32
17
```sql
33
18
-- If you haven't selected a database yet, run the USE DATABASE command
0 commit comments