Skip to content
프로젝트

소개

@ospfranco가 만든 가장 빠른 React Native용 SQLite 라이브러리

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

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

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

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.

관련 프로젝트 살펴보기

불러오는 중…