Skip to content
Projekte

Über uns

Die schnellste SQLite-Bibliothek für React Native von @ospfranco

Web- und App-Entwicklung

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
0
in 7 days
+2
in 15 days
+4
in 1 month
+8

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

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.

Ähnliche Projekte entdecken

Wird geladen…