kysely-dialect-tauri

JSON →
library 1.2.1 ·javascript
verified Jun 5, 2026

A Kysely dialect for Tauri apps using the official @tauri-apps/plugin-sql to connect to databases. Current stable version is 1.2.1. It is developed as part of the kysely-sqlite-tools monorepo. Currently only supports SQLite. The dialect leverages Tauri's SQL plugin to load databases asynchronously, using a callback pattern that provides the SQLite prefix. It is primarily used with Kysely (>=0.26) and requires @tauri-apps/plugin-sql ^2.0.0. Differentiating from other Kysely dialects, it is specifically designed for Tauri environments with proper async loading and connection lifecycle management.