@aiao/rxdb-adapter-sqlite
v0.0.25
Published
`@aiao/rxdb` 的官方 SQLite 适配器,基于 SQLite 官方 WASM 构建,为核心引擎提供 SQLite 存储后端。
Downloads
389
Readme
@aiao/rxdb-adapter-sqlite
@aiao/rxdb 的官方 SQLite 适配器,基于 SQLite 官方 WASM 构建,为核心引擎提供 SQLite 存储后端。
安装
pnpm add @aiao/rxdb @aiao/rxdb-adapter-sqlite rxjs用法
import { createSqliteClient, RxDBAdapterSqlite } from '@aiao/rxdb-adapter-sqlite';createSqliteClient:创建 SQLite 客户端RxDBAdapterSqlite:接入@aiao/rxdb的适配器实现sqliteLoad/resetSqliteLoadCache:WASM 加载与缓存控制- 类型:
SqliteOptions、SqliteLoadOptions、SqliteRepositoryConstructor等
适配器共享内核(表名解析、规则编译、基础 Repository)来自 @aiao/rxdb-adapter-sqlite-core。
文档
- 仓库主页:https://github.com/aiao-io/rxdb
- 适配器与存储后端指南见项目文档站
