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

Choosing a Database

FeatureIndexedDBTursoDb
Data ModelKey-value / DocumentRelational (SQL)
Query LanguageJavaScript APISQL
RelationshipsManualForeign keys
TransactionsYesYes
Cloud SyncNoYes (Turso Cloud)
Browser SupportAll modern browsersRequires SharedArrayBuffer
SchemaDynamicDefined with attributes
Use IndexedDB for simple caching and document storage. Use TursoDb when you need SQL queries, relationships, or cloud synchronization.