Meadow Connection SQLite

JSON →
library 1.0.20 ·javascript
verified Jun 7, 2026

A SQLite database connection plugin for the Meadow ORM, wrapping better-sqlite3 as a Fable service provider. Version 1.0.20 requires Node >=22.5.0 and provides synchronous, high-performance SQLite access via better-sqlite3. Key features include automatic WAL journal mode on connect, DDL generation from Meadow table schemas (supporting ID, GUID, ForeignKey, Numeric, Decimal, String, Text, DateTime, Boolean types), in-memory database support via ':memory:', connection safety guards, and direct access to the underlying better-sqlite3 database instance. Unlike general SQLite libraries, this integrates tightly with the Meadow ORM and Fable dependency injection framework, making it suitable for Meadow-based projects but less flexible as a standalone SQLite solution.