{"repo":"smolcars/react-native-turbo-sqlite","free":true,"listed":false,"github":"https://github.com/smolcars/react-native-turbo-sqlite","clone":"git clone https://github.com/smolcars/react-native-turbo-sqlite.git","description":"A Pure C++ TurboModule for Sqlite","language":"C","stars":20,"topics":["react-native","sqlite","turbomodule","new-architecture"],"license":"MIT","category":"mobile-apps","readme_excerpt":"react-native-turbo-sqlite A Pure C++ TurboModule for Sqlite. Platform support: [!NOTE] Web support is async-only and requires additional setup. See Web section below Installation This lib requires new architecture enabled in your app. It will not work on the old architecture and there are no plans to support it. Usage Native Async APIs On native platforms, openDatabaseAsync() , executeSqlAsync() , and closeAsync() run on a background native worker thread instead of the JS thread. - The async APIs use the same parameter and result shapes as the synchronous APIs. - executeSqlAsync() still follows the native single-statement behavior of executeSql() . - Async calls on the same database connection are serialized. Web Web support is async-only and uses a vendored copy of the official @sqlite.org/sqlite-wasm worker API with OPFS persistence. - Use openDatabaseAsync() , executeSqlAsync() , closeAsync() , and the other async APIs on web. - The synchronous APIs intentionally throw on web. - SQLCipher is not supported on web. - OPFS is required for the real web backend. If OPFS is unavailable, openDatabaseAsync() throws. - Web currently executes the full SQL string passed to executeSqlAsync() . Native currently executes only the first prepared statement, so avoid multi-statement SQL strings if you need identical behavior across platforms. - For non-persistent tests and mocks, use react-native-turbo-sqlite/mocks (which uses sql.js ). All web setups must serve the required headers for th","default_branch":null,"files":null,"tree":[],"storefront":"/r/smolcars","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/smolcars/react-native-turbo-sqlite/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}