> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.nimbleapps.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Client-Side Databases

> Store data locally in the browser with IndexedDB or TursoDb

BlazorEssentials provides two client-side database options for Blazor WebAssembly applications,
enabling offline-capable, local-first experiences.

> [card] [IndexedDB](https://easyaf.nimbleapps.cloud/blazoressentials/guides/databases/indexeddb.md)
>
> NoSQL key-value storage using the browser's built-in IndexedDB API.
> Great for caching, offline data, and simple object storage.

> [card] [TursoDb](https://easyaf.nimbleapps.cloud/blazoressentials/guides/databases/tursodb.md)
>
> Full SQLite database with SQL queries, transactions, and optional
> Turso Cloud sync for multi-device experiences.

## Choosing a Database

| Feature | IndexedDB | TursoDb |
| - | - | - |
| Data Model | Key-value / Document | Relational (SQL) |
| Query Language | JavaScript API | SQL |
| Relationships | Manual | Foreign keys |
| Transactions | Yes | Yes |
| Cloud Sync | No | Yes (Turso Cloud) |
| Browser Support | All modern browsers | Requires SharedArrayBuffer |
| Schema | Dynamic | Defined with attributes |

> [!TIP]
>
> Use **IndexedDB** for simple caching and document storage. Use **TursoDb** when you need
> SQL queries, relationships, or cloud synchronization.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.