;')
+
+// now you can use the database
+const fetchAlbums = async () => await db.exec`SELECT * FROM albums;`;
+
+fetchAlbums().then((albums) => console.log(albums));
+
+// [{ Title: 'For Those About To Rock We Salute You', ... }, ...]
```
+## Next Steps
+- [Writing data](/docs/write-data)
diff --git a/sqlite-cloud/index.mdx b/sqlite-cloud/index.mdx
deleted file mode 100644
index 733e36c..0000000
--- a/sqlite-cloud/index.mdx
+++ /dev/null
@@ -1,34 +0,0 @@
----
-title: Introduction to SQLite Cloud
-description: SQLite Cloud is a distributed relational database system built on top of the SQLite database engine.
-category: getting-started
-status: publish
----
-
-## Overview
-**SQLite Cloud** is a distributed relational database system built on top of the SQLite database engine.
-
-It has been designed from the ground up to ensure the strong consistency of your data across all nodes in a cluster while simultaneously managing the technical aspects of scaling, security, and data distribution. This ensures that you can focus on your core tasks while relying on **SQLite Cloud** to handle the complexities of managing your databases.
-
-**SQLite Cloud** is written in ANSI C and GO, and it works on most POSIX systems like Linux, *BSD, and Mac OS X (Windows is supported too). You can use **SQLite Cloud** from the [most popular programming](../docs/sdk/) languages or its REST API.
-
----
-
-## Architecture
-
-**SQLite Cloud** uses the [Raft](https://raft.github.io) consensus algorithm to distribute your data changes across a cluster of computing systems, ensuring that each node in the cluster agrees upon the same series of state transitions. Raft implements consensus with a leader approach.
-
-**SQLite Cloud** supports all the SQLite features without any limitations. It is fully ACID compliant, supports non-deterministic SQL statements, and guarantees to be strongly consistent across all the cluster nodes. This ensures that data read from any node in the system returns the most up-to-date version of the data that has been committed.
-
-In a distributed database system, where data is distributed across multiple nodes, ensuring strong consistency can be challenging due to the potential for network delays, node failures, and concurrent transactions. Maintaining strong consistency is crucial for ensuring that the system behaves as expected and that applications built on top of the system can rely on the accuracy and integrity of the data.
-
-## Features
-SQLite Cloud also provides a suite of tools for building realtime, local-first applications.
-* **Local Sync**: Query your local SQLite database and syncronize with the cloud and across devices in real-time (**In development**).
-* **Offline-first**: Resolve conflicts between devices and the cloud with CRDTs (**In developmpent**).
-* **[Webhooks](/webhooks)**: Send changes to your database to external endpoints, or use to trigger edge functions via HTTP, Websockets, or on database events like INSERT, UPDATE, and DELETE.
-* **[Edge Functions](/edge_functions)**: Run serverless functions on the same node that stores your data for low-latency operations. Trigger with webhooks or on database operations.
-* **[Pub/Sub](/pub_sub)**: Subscribe to changes in your database to replicate data, power notifications, and build multiplayer experiences.
-* **[Weblite](/weblite)**: Autogenerated REST APIs to interact with your database and edge functions.
-* **[Query Analyzer](/query_analyzer)**: Receive optimization recommendations for your queries to improve performance.
-* **Multi-region Load Balancer**: Connect to SQLite Cloud from anywhere in the world and SQLite Cloud automatically routes traffic to the nearest node for optimal performance.
diff --git a/sqlite-cloud/multi-code-example.mdx b/sqlite-cloud/multi-code-example.mdx
index e98af34..3fde715 100644
--- a/sqlite-cloud/multi-code-example.mdx
+++ b/sqlite-cloud/multi-code-example.mdx
@@ -1,7 +1,7 @@
---
title: Multi Code Component Examples
description: Multi Code Component Examples
-slug: components/multicode
+slug: multicode
category: getting-started
status: draft
---
@@ -10,8 +10,8 @@ import MultiCode from '@commons-components/Code/MultiCode.astro';
In this examples, we will show how to use the `MultiCode` component:
-- [Here](https://github.com/sqlitecloud/website/blob/docs-stage/commons/components/Code/MultiCode.astro) the definition of the `MultiCode` component.
-- [Here](https://github.com/sqlitecloud/website/blob/docs-stage/commons/components/Code/Code.astro) the definition of the `Code` component that is used inside the `MultiCode` component.
+- Here the definition of the `MultiCode` component.
+- Here the definition of the `Code` component that is used inside the `MultiCode` component.
In these two files there are the TypeScript definitions usefull to know all the avaible properties.
@@ -25,7 +25,7 @@ export const WebliteSourceCode = `
+
+
+
+
+
+ SQLite Cloud Example: Checking Chinook Customers
+
+
+
+
+
+
+
+
+
+
+ Results:
+
+
+
+
+