Skip to content
プロジェクト

概要

@ospfranco による、React Native 向け最速の SQLite ライブラリ

Web・アプリ開発

この数値の測り方

計測したスター増加

24時間
0
7日間
+2
15日間
+4
1か月
+8

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

benchmark_ios benchmark_android

Created by @ospfranco. Please consider sponsoring!.

OP-SQLite has grown large to cover a lot of plugins, sqlite versions and APIs. Please read the full documentation before opening an issue.

Open the docs

Join the Discord:

https://discord.gg/W9XmqCQCKP

Some of the big supported features:

  • iOS, Android, macOS and web support
  • Vanilla sqlite
  • Turso is supported as a compilation target
  • Libsql is supported as a compilation target
  • SQLCipher is supported as a compilation target
  • FTS5 plugin
  • Rtree plugin
  • sqlite-vec plugin
  • Reactive queries
  • Custom tokenizers
  • Load runtime extensions
  • JSONB support
  • Native query interruption via db.interrupt()

It also contains a simple Key-Value store you can use without adding one more dependency to your app.

Custom tokenizers

  1. Add "tokenizers": ["your_tokenizer"] to the "op-sqlite" config in your app's package.json.
  2. Run npx react-native config from your app's folder. It creates c_sources/tokenizers.h.
  3. Write your implementation in c_sources/tokenizers.cpp and commit the c_sources folder.

Run the command again whenever you change "tokenizers". See the tokenizers docs for the details.

License

MIT License.

関連プロジェクトを探す

読み込み中…