expo-sqlite 58.0.5 → 58.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/.cmake/api/v1/reply/{cache-v2-78bbb67ef2e5303a90f2.json → cache-v2-6dc03e7714a1610ef472.json} +2 -34
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/.cmake/api/v1/reply/cmakeFiles-v1-460dcfd04a0608398479.json +194 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/.cmake/api/v1/reply/{codemodel-v2-116f50c3201537e03e27.json → codemodel-v2-8e14581ef507556d2bce.json} +1 -1
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/{x86/.cmake/api/v1/reply/index-2026-09-23T15-40-25-0497.json → arm64-v8a/.cmake/api/v1/reply/index-2026-09-25T08-12-46-0757.json} +6 -6
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/.cmake/api/v1/reply/{target-expo-sqlite-RelWithDebInfo-90901361ee8d4c0f0611.json → target-expo-sqlite-RelWithDebInfo-30004611dca53b759079.json} +3 -3
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/.ninja_deps +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/.ninja_log +9 -3
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/CMakeCache.txt +2 -2
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeDatabaseBinding.cpp.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeSessionBinding.cpp.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeStatementBinding.cpp.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/CMakeFiles/expo-sqlite.dir/src/main/cpp/SQLite3Main.cpp.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/android_gradle_build.json +1 -1
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/android_gradle_build_mini.json +1 -1
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/build.ninja +10 -21
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/compile_commands.json +5 -5
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/compile_commands.json.bin +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/configure_fingerprint.bin +16 -12
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/prefab_config.json +2 -2
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/.cmake/api/v1/reply/{cache-v2-243a4f0bf11e91cdc4d8.json → cache-v2-9dd29230e0a3346eded6.json} +2 -34
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/.cmake/api/v1/reply/cmakeFiles-v1-43fb69d3e7149f98cdc2.json +194 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/.cmake/api/v1/reply/{codemodel-v2-c0e5c09f8d4af05e23da.json → codemodel-v2-f2d02ffdcc97e2e5d94e.json} +1 -1
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/.cmake/api/v1/reply/{index-2026-09-23T15-40-10-0509.json → index-2026-09-25T08-12-48-0361.json} +6 -6
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/.cmake/api/v1/reply/{target-expo-sqlite-RelWithDebInfo-4ba3a43729b4fa322330.json → target-expo-sqlite-RelWithDebInfo-b47c368cedde8b8f4695.json} +3 -3
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/.ninja_deps +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/.ninja_log +9 -3
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/CMakeCache.txt +2 -2
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeDatabaseBinding.cpp.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeSessionBinding.cpp.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeStatementBinding.cpp.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/android_gradle_build.json +1 -1
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/android_gradle_build_mini.json +1 -1
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/build.ninja +10 -21
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/compile_commands.json +5 -5
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/compile_commands.json.bin +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/configure_fingerprint.bin +16 -12
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/prefab_config.json +2 -2
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/arm64-v8a/prefab/lib/aarch64-linux-android/cmake/fbjni/fbjniConfig.cmake +2 -2
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/arm64-v8a/prefab/lib/aarch64-linux-android/cmake/kolibri-android/kolibri-androidConfig.cmake +2 -2
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/arm64-v8a/prefab/lib/aarch64-linux-android/cmake/kolibri-android/kolibri-androidConfigVersion.cmake +1 -1
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/armeabi-v7a/prefab/lib/arm-linux-androideabi/cmake/fbjni/fbjniConfig.cmake +2 -2
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/armeabi-v7a/prefab/lib/arm-linux-androideabi/cmake/kolibri-android/kolibri-androidConfig.cmake +2 -2
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/armeabi-v7a/prefab/lib/arm-linux-androideabi/cmake/kolibri-android/kolibri-androidConfigVersion.cmake +1 -1
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/x86/prefab/lib/i686-linux-android/cmake/fbjni/fbjniConfig.cmake +2 -2
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/x86/prefab/lib/i686-linux-android/cmake/kolibri-android/kolibri-androidConfig.cmake +2 -2
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/x86/prefab/lib/i686-linux-android/cmake/kolibri-android/kolibri-androidConfigVersion.cmake +1 -1
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/x86_64/prefab/lib/x86_64-linux-android/cmake/fbjni/fbjniConfig.cmake +2 -2
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/x86_64/prefab/lib/x86_64-linux-android/cmake/kolibri-android/kolibri-androidConfig.cmake +2 -2
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/x86_64/prefab/lib/x86_64-linux-android/cmake/kolibri-android/kolibri-androidConfigVersion.cmake +1 -1
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/.cmake/api/v1/reply/{cache-v2-336121a96d78e6796dce.json → cache-v2-d56b522ff81056f450b2.json} +2 -34
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/.cmake/api/v1/reply/cmakeFiles-v1-ae2298dab638cae4ef52.json +194 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/.cmake/api/v1/reply/{codemodel-v2-7f2c86bf1ed6bb14f83e.json → codemodel-v2-9f137e50964131cae142.json} +1 -1
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/{x86_64/.cmake/api/v1/reply/index-2026-09-23T15-40-37-0921.json → x86/.cmake/api/v1/reply/index-2026-09-25T08-12-49-0440.json} +6 -6
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/.cmake/api/v1/reply/{target-expo-sqlite-RelWithDebInfo-8831e9862f5bc79725de.json → target-expo-sqlite-RelWithDebInfo-eb983f017e00fc0171f0.json} +3 -3
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/.ninja_deps +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/.ninja_log +9 -3
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/CMakeCache.txt +2 -2
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeDatabaseBinding.cpp.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeSessionBinding.cpp.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeStatementBinding.cpp.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/CMakeFiles/expo-sqlite.dir/src/main/cpp/SQLite3Main.cpp.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/android_gradle_build.json +1 -1
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/android_gradle_build_mini.json +1 -1
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/build.ninja +10 -21
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/compile_commands.json +5 -5
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/compile_commands.json.bin +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/configure_fingerprint.bin +20 -16
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/prefab_config.json +2 -2
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/.cmake/api/v1/reply/{cache-v2-7680fd2ea5093a2a48e5.json → cache-v2-f7ff4cccc0dafa8cc20b.json} +2 -34
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/.cmake/api/v1/reply/cmakeFiles-v1-7bf8175c7b3bc27834ee.json +194 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/.cmake/api/v1/reply/{codemodel-v2-60fec8725e2bb1fa02e5.json → codemodel-v2-a10143906763b4814bd5.json} +1 -1
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/{arm64-v8a/.cmake/api/v1/reply/index-2026-09-23T15-39-54-0780.json → x86_64/.cmake/api/v1/reply/index-2026-09-25T08-12-50-0523.json} +6 -6
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/.cmake/api/v1/reply/{target-expo-sqlite-RelWithDebInfo-baac7cda33db6bea8600.json → target-expo-sqlite-RelWithDebInfo-a17b991f720b580ee4f1.json} +3 -3
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/.ninja_deps +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/.ninja_log +10 -4
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/CMakeCache.txt +2 -2
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeDatabaseBinding.cpp.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeSessionBinding.cpp.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeStatementBinding.cpp.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/CMakeFiles/expo-sqlite.dir/src/main/cpp/SQLite3Main.cpp.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/android_gradle_build.json +1 -1
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/android_gradle_build_mini.json +1 -1
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/build.ninja +10 -21
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/compile_commands.json +5 -5
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/compile_commands.json.bin +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/configure_fingerprint.bin +20 -16
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/prefab_config.json +2 -2
- package/android/.cxx/tools/release/arm64-v8a/compile_commands.json +5 -5
- package/android/.cxx/tools/release/armeabi-v7a/compile_commands.json +5 -5
- package/android/.cxx/tools/release/x86/compile_commands.json +5 -5
- package/android/.cxx/tools/release/x86_64/compile_commands.json +5 -5
- package/android/build.gradle +2 -2
- package/expo-module.config.json +1 -1
- package/ios/Benchmarks/Benchmarks.swift +57 -0
- package/ios/Benchmarks/JavaScriptBenchmarks.swift +196 -0
- package/ios/Benchmarks/StatementBenchmarks.swift +179 -0
- package/ios/ExpoSQLite.podspec +11 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.6/expo.modules.sqlite-58.0.6.aar +0 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.6/expo.modules.sqlite-58.0.6.aar.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.6/expo.modules.sqlite-58.0.6.aar.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.6/expo.modules.sqlite-58.0.6.aar.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.6/expo.modules.sqlite-58.0.6.aar.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/{58.0.5/expo.modules.sqlite-58.0.5.module → 58.0.6/expo.modules.sqlite-58.0.6.module} +16 -16
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.6/expo.modules.sqlite-58.0.6.module.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.6/expo.modules.sqlite-58.0.6.module.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.6/expo.modules.sqlite-58.0.6.module.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.6/expo.modules.sqlite-58.0.6.module.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/{58.0.5/expo.modules.sqlite-58.0.5.pom → 58.0.6/expo.modules.sqlite-58.0.6.pom} +2 -2
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.6/expo.modules.sqlite-58.0.6.pom.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.6/expo.modules.sqlite-58.0.6.pom.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.6/expo.modules.sqlite-58.0.6.pom.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.6/expo.modules.sqlite-58.0.6.pom.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/maven-metadata.xml +4 -4
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/maven-metadata.xml.md5 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/maven-metadata.xml.sha1 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/maven-metadata.xml.sha256 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/maven-metadata.xml.sha512 +1 -1
- package/package.json +3 -3
- package/spm.config.json +1 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/.cmake/api/v1/reply/cmakeFiles-v1-36ba212a0f357943e830.json +0 -809
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/.cmake/api/v1/reply/cmakeFiles-v1-74456d66c64ab5130b71.json +0 -809
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/.cmake/api/v1/reply/cmakeFiles-v1-985fbc81afea194fb834.json +0 -809
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/.cmake/api/v1/reply/cmakeFiles-v1-f4180429c22746cfd636.json +0 -809
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.aar +0 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.aar.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.aar.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.aar.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.aar.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.module.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.module.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.module.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.module.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.pom.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.pom.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.pom.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.pom.sha512 +0 -1
- /package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/{58.0.5/expo.modules.sqlite-58.0.5-sources.jar → 58.0.6/expo.modules.sqlite-58.0.6-sources.jar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/{58.0.5/expo.modules.sqlite-58.0.5-sources.jar.md5 → 58.0.6/expo.modules.sqlite-58.0.6-sources.jar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/{58.0.5/expo.modules.sqlite-58.0.5-sources.jar.sha1 → 58.0.6/expo.modules.sqlite-58.0.6-sources.jar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/{58.0.5/expo.modules.sqlite-58.0.5-sources.jar.sha256 → 58.0.6/expo.modules.sqlite-58.0.6-sources.jar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/{58.0.5/expo.modules.sqlite-58.0.5-sources.jar.sha512 → 58.0.6/expo.modules.sqlite-58.0.6-sources.jar.sha512} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
3
|
"directory": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a",
|
|
4
|
-
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/
|
|
4
|
+
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/d9108396f9df963929698d4709160fd3/transformed/fbjni-0.3.0/prefab/modules/fbjni/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D__BIONIC_NO_PAGE_SIZE_MACRO -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -O2 -g -DNDEBUG -fPIC -DSQLITE_ENABLE_BYTECODE_VTAB=1 -DSQLITE_TEMP_STORE=2 -DSQLITE_ENABLE_SESSION=1 -DSQLITE_ENABLE_PREUPDATE_HOOK=1 -DSQLITE_ENABLE_MATH_FUNCTIONS=1 -DSQLITE_ENABLE_API_ARMOR=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS5=1 -std=gnu++20 -o CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeDatabaseBinding.cpp.o -c /Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/NativeDatabaseBinding.cpp",
|
|
5
5
|
"file": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/NativeDatabaseBinding.cpp"
|
|
6
6
|
},
|
|
7
7
|
{
|
|
8
8
|
"directory": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a",
|
|
9
|
-
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/
|
|
9
|
+
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/d9108396f9df963929698d4709160fd3/transformed/fbjni-0.3.0/prefab/modules/fbjni/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D__BIONIC_NO_PAGE_SIZE_MACRO -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -O2 -g -DNDEBUG -fPIC -DSQLITE_ENABLE_BYTECODE_VTAB=1 -DSQLITE_TEMP_STORE=2 -DSQLITE_ENABLE_SESSION=1 -DSQLITE_ENABLE_PREUPDATE_HOOK=1 -DSQLITE_ENABLE_MATH_FUNCTIONS=1 -DSQLITE_ENABLE_API_ARMOR=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS5=1 -std=gnu++20 -o CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeSessionBinding.cpp.o -c /Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/NativeSessionBinding.cpp",
|
|
10
10
|
"file": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/NativeSessionBinding.cpp"
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
"directory": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a",
|
|
14
|
-
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/
|
|
14
|
+
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/d9108396f9df963929698d4709160fd3/transformed/fbjni-0.3.0/prefab/modules/fbjni/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D__BIONIC_NO_PAGE_SIZE_MACRO -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -O2 -g -DNDEBUG -fPIC -DSQLITE_ENABLE_BYTECODE_VTAB=1 -DSQLITE_TEMP_STORE=2 -DSQLITE_ENABLE_SESSION=1 -DSQLITE_ENABLE_PREUPDATE_HOOK=1 -DSQLITE_ENABLE_MATH_FUNCTIONS=1 -DSQLITE_ENABLE_API_ARMOR=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS5=1 -std=gnu++20 -o CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeStatementBinding.cpp.o -c /Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/NativeStatementBinding.cpp",
|
|
15
15
|
"file": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/NativeStatementBinding.cpp"
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"directory": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a",
|
|
19
|
-
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/
|
|
19
|
+
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/d9108396f9df963929698d4709160fd3/transformed/fbjni-0.3.0/prefab/modules/fbjni/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D__BIONIC_NO_PAGE_SIZE_MACRO -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -O2 -g -DNDEBUG -fPIC -DSQLITE_ENABLE_BYTECODE_VTAB=1 -DSQLITE_TEMP_STORE=2 -DSQLITE_ENABLE_SESSION=1 -DSQLITE_ENABLE_PREUPDATE_HOOK=1 -DSQLITE_ENABLE_MATH_FUNCTIONS=1 -DSQLITE_ENABLE_API_ARMOR=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS5=1 -std=gnu++20 -o CMakeFiles/expo-sqlite.dir/src/main/cpp/SQLite3Main.cpp.o -c /Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/SQLite3Main.cpp",
|
|
20
20
|
"file": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/SQLite3Main.cpp"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"directory": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a",
|
|
24
|
-
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=armv7-none-linux-androideabi24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/
|
|
24
|
+
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=armv7-none-linux-androideabi24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/d9108396f9df963929698d4709160fd3/transformed/fbjni-0.3.0/prefab/modules/fbjni/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D__BIONIC_NO_PAGE_SIZE_MACRO -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -O2 -g -DNDEBUG -fPIC -DSQLITE_ENABLE_BYTECODE_VTAB=1 -DSQLITE_TEMP_STORE=2 -DSQLITE_ENABLE_SESSION=1 -DSQLITE_ENABLE_PREUPDATE_HOOK=1 -DSQLITE_ENABLE_MATH_FUNCTIONS=1 -DSQLITE_ENABLE_API_ARMOR=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS5=1 -o CMakeFiles/expo-sqlite.dir/Users/alanhughes/Work/expo/packages/expo-sqlite/vendor/sqlite3/sqlite3.c.o -c /Users/alanhughes/Work/expo/packages/expo-sqlite/vendor/sqlite3/sqlite3.c",
|
|
25
25
|
"file": "/Users/alanhughes/Work/expo/packages/expo-sqlite/vendor/sqlite3/sqlite3.c"
|
|
26
26
|
}
|
|
27
27
|
]
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
3
|
"directory": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/.cxx/RelWithDebInfo/5g1u4l1v/x86",
|
|
4
|
-
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=i686-none-linux-android24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/
|
|
4
|
+
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=i686-none-linux-android24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/d9108396f9df963929698d4709160fd3/transformed/fbjni-0.3.0/prefab/modules/fbjni/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D__BIONIC_NO_PAGE_SIZE_MACRO -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -O2 -g -DNDEBUG -fPIC -DSQLITE_ENABLE_BYTECODE_VTAB=1 -DSQLITE_TEMP_STORE=2 -DSQLITE_ENABLE_SESSION=1 -DSQLITE_ENABLE_PREUPDATE_HOOK=1 -DSQLITE_ENABLE_MATH_FUNCTIONS=1 -DSQLITE_ENABLE_API_ARMOR=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS5=1 -std=gnu++20 -o CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeDatabaseBinding.cpp.o -c /Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/NativeDatabaseBinding.cpp",
|
|
5
5
|
"file": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/NativeDatabaseBinding.cpp"
|
|
6
6
|
},
|
|
7
7
|
{
|
|
8
8
|
"directory": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/.cxx/RelWithDebInfo/5g1u4l1v/x86",
|
|
9
|
-
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=i686-none-linux-android24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/
|
|
9
|
+
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=i686-none-linux-android24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/d9108396f9df963929698d4709160fd3/transformed/fbjni-0.3.0/prefab/modules/fbjni/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D__BIONIC_NO_PAGE_SIZE_MACRO -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -O2 -g -DNDEBUG -fPIC -DSQLITE_ENABLE_BYTECODE_VTAB=1 -DSQLITE_TEMP_STORE=2 -DSQLITE_ENABLE_SESSION=1 -DSQLITE_ENABLE_PREUPDATE_HOOK=1 -DSQLITE_ENABLE_MATH_FUNCTIONS=1 -DSQLITE_ENABLE_API_ARMOR=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS5=1 -std=gnu++20 -o CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeSessionBinding.cpp.o -c /Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/NativeSessionBinding.cpp",
|
|
10
10
|
"file": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/NativeSessionBinding.cpp"
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
"directory": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/.cxx/RelWithDebInfo/5g1u4l1v/x86",
|
|
14
|
-
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=i686-none-linux-android24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/
|
|
14
|
+
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=i686-none-linux-android24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/d9108396f9df963929698d4709160fd3/transformed/fbjni-0.3.0/prefab/modules/fbjni/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D__BIONIC_NO_PAGE_SIZE_MACRO -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -O2 -g -DNDEBUG -fPIC -DSQLITE_ENABLE_BYTECODE_VTAB=1 -DSQLITE_TEMP_STORE=2 -DSQLITE_ENABLE_SESSION=1 -DSQLITE_ENABLE_PREUPDATE_HOOK=1 -DSQLITE_ENABLE_MATH_FUNCTIONS=1 -DSQLITE_ENABLE_API_ARMOR=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS5=1 -std=gnu++20 -o CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeStatementBinding.cpp.o -c /Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/NativeStatementBinding.cpp",
|
|
15
15
|
"file": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/NativeStatementBinding.cpp"
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"directory": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/.cxx/RelWithDebInfo/5g1u4l1v/x86",
|
|
19
|
-
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=i686-none-linux-android24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/
|
|
19
|
+
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=i686-none-linux-android24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/d9108396f9df963929698d4709160fd3/transformed/fbjni-0.3.0/prefab/modules/fbjni/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D__BIONIC_NO_PAGE_SIZE_MACRO -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -O2 -g -DNDEBUG -fPIC -DSQLITE_ENABLE_BYTECODE_VTAB=1 -DSQLITE_TEMP_STORE=2 -DSQLITE_ENABLE_SESSION=1 -DSQLITE_ENABLE_PREUPDATE_HOOK=1 -DSQLITE_ENABLE_MATH_FUNCTIONS=1 -DSQLITE_ENABLE_API_ARMOR=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS5=1 -std=gnu++20 -o CMakeFiles/expo-sqlite.dir/src/main/cpp/SQLite3Main.cpp.o -c /Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/SQLite3Main.cpp",
|
|
20
20
|
"file": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/SQLite3Main.cpp"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"directory": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/.cxx/RelWithDebInfo/5g1u4l1v/x86",
|
|
24
|
-
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=i686-none-linux-android24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/
|
|
24
|
+
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=i686-none-linux-android24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/d9108396f9df963929698d4709160fd3/transformed/fbjni-0.3.0/prefab/modules/fbjni/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D__BIONIC_NO_PAGE_SIZE_MACRO -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -O2 -g -DNDEBUG -fPIC -DSQLITE_ENABLE_BYTECODE_VTAB=1 -DSQLITE_TEMP_STORE=2 -DSQLITE_ENABLE_SESSION=1 -DSQLITE_ENABLE_PREUPDATE_HOOK=1 -DSQLITE_ENABLE_MATH_FUNCTIONS=1 -DSQLITE_ENABLE_API_ARMOR=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS5=1 -o CMakeFiles/expo-sqlite.dir/Users/alanhughes/Work/expo/packages/expo-sqlite/vendor/sqlite3/sqlite3.c.o -c /Users/alanhughes/Work/expo/packages/expo-sqlite/vendor/sqlite3/sqlite3.c",
|
|
25
25
|
"file": "/Users/alanhughes/Work/expo/packages/expo-sqlite/vendor/sqlite3/sqlite3.c"
|
|
26
26
|
}
|
|
27
27
|
]
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
3
|
"directory": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64",
|
|
4
|
-
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=x86_64-none-linux-android24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/
|
|
4
|
+
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=x86_64-none-linux-android24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/d9108396f9df963929698d4709160fd3/transformed/fbjni-0.3.0/prefab/modules/fbjni/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D__BIONIC_NO_PAGE_SIZE_MACRO -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -O2 -g -DNDEBUG -fPIC -DSQLITE_ENABLE_BYTECODE_VTAB=1 -DSQLITE_TEMP_STORE=2 -DSQLITE_ENABLE_SESSION=1 -DSQLITE_ENABLE_PREUPDATE_HOOK=1 -DSQLITE_ENABLE_MATH_FUNCTIONS=1 -DSQLITE_ENABLE_API_ARMOR=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS5=1 -std=gnu++20 -o CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeDatabaseBinding.cpp.o -c /Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/NativeDatabaseBinding.cpp",
|
|
5
5
|
"file": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/NativeDatabaseBinding.cpp"
|
|
6
6
|
},
|
|
7
7
|
{
|
|
8
8
|
"directory": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64",
|
|
9
|
-
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=x86_64-none-linux-android24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/
|
|
9
|
+
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=x86_64-none-linux-android24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/d9108396f9df963929698d4709160fd3/transformed/fbjni-0.3.0/prefab/modules/fbjni/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D__BIONIC_NO_PAGE_SIZE_MACRO -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -O2 -g -DNDEBUG -fPIC -DSQLITE_ENABLE_BYTECODE_VTAB=1 -DSQLITE_TEMP_STORE=2 -DSQLITE_ENABLE_SESSION=1 -DSQLITE_ENABLE_PREUPDATE_HOOK=1 -DSQLITE_ENABLE_MATH_FUNCTIONS=1 -DSQLITE_ENABLE_API_ARMOR=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS5=1 -std=gnu++20 -o CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeSessionBinding.cpp.o -c /Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/NativeSessionBinding.cpp",
|
|
10
10
|
"file": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/NativeSessionBinding.cpp"
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
"directory": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64",
|
|
14
|
-
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=x86_64-none-linux-android24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/
|
|
14
|
+
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=x86_64-none-linux-android24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/d9108396f9df963929698d4709160fd3/transformed/fbjni-0.3.0/prefab/modules/fbjni/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D__BIONIC_NO_PAGE_SIZE_MACRO -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -O2 -g -DNDEBUG -fPIC -DSQLITE_ENABLE_BYTECODE_VTAB=1 -DSQLITE_TEMP_STORE=2 -DSQLITE_ENABLE_SESSION=1 -DSQLITE_ENABLE_PREUPDATE_HOOK=1 -DSQLITE_ENABLE_MATH_FUNCTIONS=1 -DSQLITE_ENABLE_API_ARMOR=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS5=1 -std=gnu++20 -o CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeStatementBinding.cpp.o -c /Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/NativeStatementBinding.cpp",
|
|
15
15
|
"file": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/NativeStatementBinding.cpp"
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"directory": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64",
|
|
19
|
-
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=x86_64-none-linux-android24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/
|
|
19
|
+
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=x86_64-none-linux-android24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/d9108396f9df963929698d4709160fd3/transformed/fbjni-0.3.0/prefab/modules/fbjni/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D__BIONIC_NO_PAGE_SIZE_MACRO -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -O2 -g -DNDEBUG -fPIC -DSQLITE_ENABLE_BYTECODE_VTAB=1 -DSQLITE_TEMP_STORE=2 -DSQLITE_ENABLE_SESSION=1 -DSQLITE_ENABLE_PREUPDATE_HOOK=1 -DSQLITE_ENABLE_MATH_FUNCTIONS=1 -DSQLITE_ENABLE_API_ARMOR=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS5=1 -std=gnu++20 -o CMakeFiles/expo-sqlite.dir/src/main/cpp/SQLite3Main.cpp.o -c /Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/SQLite3Main.cpp",
|
|
20
20
|
"file": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp/SQLite3Main.cpp"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"directory": "/Users/alanhughes/Work/expo/packages/expo-sqlite/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64",
|
|
24
|
-
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=x86_64-none-linux-android24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/
|
|
24
|
+
"command": "/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=x86_64-none-linux-android24 --sysroot=/Users/alanhughes/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dexpo_sqlite_EXPORTS -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/src/main/cpp -I/Users/alanhughes/Work/expo/packages/expo-sqlite/android/../vendor/sqlite3 -isystem /Users/alanhughes/.gradle/caches/9.4.1/transforms/d9108396f9df963929698d4709160fd3/transformed/fbjni-0.3.0/prefab/modules/fbjni/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D__BIONIC_NO_PAGE_SIZE_MACRO -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -O2 -g -DNDEBUG -fPIC -DSQLITE_ENABLE_BYTECODE_VTAB=1 -DSQLITE_TEMP_STORE=2 -DSQLITE_ENABLE_SESSION=1 -DSQLITE_ENABLE_PREUPDATE_HOOK=1 -DSQLITE_ENABLE_MATH_FUNCTIONS=1 -DSQLITE_ENABLE_API_ARMOR=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS5=1 -o CMakeFiles/expo-sqlite.dir/Users/alanhughes/Work/expo/packages/expo-sqlite/vendor/sqlite3/sqlite3.c.o -c /Users/alanhughes/Work/expo/packages/expo-sqlite/vendor/sqlite3/sqlite3.c",
|
|
25
25
|
"file": "/Users/alanhughes/Work/expo/packages/expo-sqlite/vendor/sqlite3/sqlite3.c"
|
|
26
26
|
}
|
|
27
27
|
]
|
package/android/build.gradle
CHANGED
|
@@ -47,13 +47,13 @@ def reactNativeArchitectures() {
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
group = 'host.exp.exponent'
|
|
50
|
-
version = '58.0.
|
|
50
|
+
version = '58.0.6'
|
|
51
51
|
|
|
52
52
|
android {
|
|
53
53
|
namespace "expo.modules.sqlite"
|
|
54
54
|
defaultConfig {
|
|
55
55
|
versionCode 18
|
|
56
|
-
versionName "58.0.
|
|
56
|
+
versionName "58.0.6"
|
|
57
57
|
buildConfigField "boolean", "WITH_SQLITE_VEC", project.ext.WITH_SQLITE_VEC.toString()
|
|
58
58
|
|
|
59
59
|
externalNativeBuild {
|
package/expo-module.config.json
CHANGED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// Copyright 2026-present 650 Industries. All rights reserved.
|
|
2
|
+
|
|
3
|
+
import ExpoModulesTestCore
|
|
4
|
+
import Testing
|
|
5
|
+
|
|
6
|
+
@testable import ExpoModulesCore
|
|
7
|
+
@testable import ExpoSQLite
|
|
8
|
+
|
|
9
|
+
/// Umbrella suite for the ExpoSQLite benchmarks; the other files in this directory extend it.
|
|
10
|
+
///
|
|
11
|
+
/// The benchmarks are the `Benchmarks` test spec of the pod, separate from the unit tests. Run them
|
|
12
|
+
/// with `et native-unit-tests -p ios --packages expo-sqlite --benchmarks`, which builds the pods in
|
|
13
|
+
/// the Release configuration and runs the bundle natively on the Mac through the Mac Catalyst
|
|
14
|
+
/// destination. Each case prints one `[benchmark]` line with the median and minimum ns/op.
|
|
15
|
+
///
|
|
16
|
+
/// The suite is serialized so only one benchmark runs at a time: the `JavaScriptActor` executor runs
|
|
17
|
+
/// jobs synchronously on the calling thread, so cases running in parallel would disturb each other's
|
|
18
|
+
/// measurements.
|
|
19
|
+
@Suite(.serialized)
|
|
20
|
+
struct Benchmarks {}
|
|
21
|
+
|
|
22
|
+
/// Runs one case with a fresh app context whose runtime has the `ExpoSQLite` module installed, so
|
|
23
|
+
/// JavaScript drivers reach it as `expo.modules.ExpoSQLite`.
|
|
24
|
+
func sqliteBenchmarkCase(_ body: @escaping @JavaScriptActor (AppContext) throws -> Void) async throws {
|
|
25
|
+
try await benchmarkCase {
|
|
26
|
+
let appContext = AppContext.create()
|
|
27
|
+
appContext.moduleRegistry.register(module: SQLiteModule(appContext: appContext), name: nil)
|
|
28
|
+
try body(appContext)
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/// The table every benchmark queries: five columns covering the SQLite storage classes the module
|
|
33
|
+
/// converts, seeded with `rowCount` rows.
|
|
34
|
+
enum BenchmarkSchema {
|
|
35
|
+
static let rowCount = 10_000
|
|
36
|
+
static let columnCount = 5
|
|
37
|
+
|
|
38
|
+
static let selectColumns = "id, int_value, real_value, text_value, null_value"
|
|
39
|
+
|
|
40
|
+
static func setup(rows: Int = rowCount) -> String {
|
|
41
|
+
return """
|
|
42
|
+
CREATE TABLE t (
|
|
43
|
+
id INTEGER PRIMARY KEY NOT NULL,
|
|
44
|
+
int_value INTEGER NOT NULL,
|
|
45
|
+
real_value REAL NOT NULL,
|
|
46
|
+
text_value TEXT NOT NULL,
|
|
47
|
+
null_value TEXT
|
|
48
|
+
);
|
|
49
|
+
WITH RECURSIVE seq(n) AS (SELECT 1 UNION ALL SELECT n + 1 FROM seq WHERE n < \(rows))
|
|
50
|
+
INSERT INTO t (int_value, real_value, text_value, null_value)
|
|
51
|
+
SELECT n, n * 1.5, 'row-' || n || '-' || hex(randomblob(8)), NULL FROM seq;
|
|
52
|
+
CREATE TABLE blobs (id INTEGER PRIMARY KEY NOT NULL, data BLOB NOT NULL);
|
|
53
|
+
WITH RECURSIVE seq(n) AS (SELECT 1 UNION ALL SELECT n + 1 FROM seq WHERE n < 100)
|
|
54
|
+
INSERT INTO blobs (data) SELECT randomblob(1024) FROM seq;
|
|
55
|
+
"""
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
// Copyright 2026-present 650 Industries. All rights reserved.
|
|
2
|
+
|
|
3
|
+
import ExpoModulesTestCore
|
|
4
|
+
import Testing
|
|
5
|
+
|
|
6
|
+
@testable import ExpoModulesCore
|
|
7
|
+
@testable import ExpoSQLite
|
|
8
|
+
|
|
9
|
+
/// End-to-end benchmarks for JavaScript calling the native module. A JavaScript driver function runs
|
|
10
|
+
/// the measured loop against `expo.modules.ExpoSQLite`, so each operation covers the full round trip:
|
|
11
|
+
/// the engine's call dispatch, argument decoding, the SQLite work and encoding the result back.
|
|
12
|
+
///
|
|
13
|
+
/// The drivers issue the same sequence of native calls that `SQLiteDatabase` in `src/` issues for the
|
|
14
|
+
/// corresponding public method, so a change to the native binding shows up here the way it shows up
|
|
15
|
+
/// for an app. Read every result against `JS: empty driver loop`.
|
|
16
|
+
extension Benchmarks {
|
|
17
|
+
/// Evaluates the setup script: opens a seeded in-memory database as the global `db` and exposes the
|
|
18
|
+
/// statement class as `NativeStatement`, then returns the runtime for the drivers.
|
|
19
|
+
@JavaScriptActor
|
|
20
|
+
private func prepareRuntime(_ appContext: AppContext) throws -> JavaScriptRuntime {
|
|
21
|
+
let runtime = try appContext.runtime
|
|
22
|
+
_ = try runtime.eval(
|
|
23
|
+
"""
|
|
24
|
+
var NativeStatement = expo.modules.ExpoSQLite.NativeStatement;
|
|
25
|
+
var db = new expo.modules.ExpoSQLite.NativeDatabase(':memory:', { useNewConnection: true });
|
|
26
|
+
db.initSync();
|
|
27
|
+
"""
|
|
28
|
+
)
|
|
29
|
+
// The schema goes in as a call argument instead of a template literal, so it needs no escaping.
|
|
30
|
+
_ = try runtime.eval("(function (schema) { db.execSync(schema); })")
|
|
31
|
+
.asFunction()
|
|
32
|
+
.call(arguments: BenchmarkSchema.setup())
|
|
33
|
+
return runtime
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/// A driver that runs `body` `n` times; `body` sees `db`, `NativeStatement` and the loop index `i`.
|
|
37
|
+
@JavaScriptActor
|
|
38
|
+
private func driver(_ runtime: JavaScriptRuntime, _ body: String) throws -> JavaScriptFunction {
|
|
39
|
+
return try runtime.eval("(function(n) { for (var i = 0; i < n; i++) { \(body) } })").getFunction()
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/// The native calls behind `SQLiteDatabase.getAllSync(source)`.
|
|
43
|
+
@JavaScriptActor
|
|
44
|
+
private func getAllDriver(_ runtime: JavaScriptRuntime, source: String) throws -> JavaScriptFunction {
|
|
45
|
+
return try driver(
|
|
46
|
+
runtime,
|
|
47
|
+
"""
|
|
48
|
+
var stmt = new NativeStatement();
|
|
49
|
+
db.prepareSync(stmt, '\(source)');
|
|
50
|
+
stmt.runSync(db, {}, {}, true);
|
|
51
|
+
stmt.getColumnNamesSync();
|
|
52
|
+
stmt.getAllSync(db);
|
|
53
|
+
stmt.finalizeSync(db);
|
|
54
|
+
"""
|
|
55
|
+
)
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@Test
|
|
59
|
+
func `JS: empty driver loop`() async throws {
|
|
60
|
+
try await sqliteBenchmarkCase { appContext in
|
|
61
|
+
let runtime = try prepareRuntime(appContext)
|
|
62
|
+
let run = try driver(runtime, "")
|
|
63
|
+
try benchmark("JS: empty driver loop", runtime: runtime) { iterations in
|
|
64
|
+
_ = try run.call(arguments: iterations)
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@Test
|
|
70
|
+
func `JS: exec a trivial statement`() async throws {
|
|
71
|
+
try await sqliteBenchmarkCase { appContext in
|
|
72
|
+
let runtime = try prepareRuntime(appContext)
|
|
73
|
+
let run = try driver(runtime, "db.execSync('SELECT 1');")
|
|
74
|
+
try benchmark("JS: execSync('SELECT 1')", runtime: runtime) { iterations in
|
|
75
|
+
_ = try run.call(arguments: iterations)
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@Test
|
|
81
|
+
func `JS: construct a statement`() async throws {
|
|
82
|
+
try await sqliteBenchmarkCase { appContext in
|
|
83
|
+
let runtime = try prepareRuntime(appContext)
|
|
84
|
+
let run = try driver(runtime, "new NativeStatement();")
|
|
85
|
+
try benchmark("JS: new NativeStatement()", runtime: runtime) { iterations in
|
|
86
|
+
_ = try run.call(arguments: iterations)
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@Test
|
|
92
|
+
func `JS: getAll one row`() async throws {
|
|
93
|
+
try await sqliteBenchmarkCase { appContext in
|
|
94
|
+
let runtime = try prepareRuntime(appContext)
|
|
95
|
+
let run = try getAllDriver(runtime, source: "SELECT \(BenchmarkSchema.selectColumns) FROM t WHERE id = 1")
|
|
96
|
+
try benchmark("JS: getAllSync 1 row (prepare, run, columns, getAll, finalize)", runtime: runtime) {
|
|
97
|
+
iterations in
|
|
98
|
+
_ = try run.call(arguments: iterations)
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@Test
|
|
104
|
+
func `JS: getAll 100 rows`() async throws {
|
|
105
|
+
try await sqliteBenchmarkCase { appContext in
|
|
106
|
+
let runtime = try prepareRuntime(appContext)
|
|
107
|
+
let run = try getAllDriver(runtime, source: "SELECT \(BenchmarkSchema.selectColumns) FROM t WHERE id <= 100")
|
|
108
|
+
try benchmark("JS: getAllSync 100 rows", runtime: runtime) { iterations in
|
|
109
|
+
_ = try run.call(arguments: iterations)
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@Test
|
|
115
|
+
func `JS: getAll 10k rows`() async throws {
|
|
116
|
+
try await sqliteBenchmarkCase { appContext in
|
|
117
|
+
let runtime = try prepareRuntime(appContext)
|
|
118
|
+
let run = try getAllDriver(runtime, source: "SELECT \(BenchmarkSchema.selectColumns) FROM t")
|
|
119
|
+
try benchmark("JS: getAllSync 10k rows", runtime: runtime, samples: 5) { iterations in
|
|
120
|
+
_ = try run.call(arguments: iterations)
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@Test
|
|
126
|
+
func `JS: getAll 100 rows with a 1 KiB blob column`() async throws {
|
|
127
|
+
try await sqliteBenchmarkCase { appContext in
|
|
128
|
+
let runtime = try prepareRuntime(appContext)
|
|
129
|
+
let run = try getAllDriver(runtime, source: "SELECT id, data FROM blobs")
|
|
130
|
+
try benchmark("JS: getAllSync 100 rows with 1 KiB blob", runtime: runtime) { iterations in
|
|
131
|
+
_ = try run.call(arguments: iterations)
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/// `SQLiteStatement.executeSync(...).getAllSync()` on a statement prepared once.
|
|
137
|
+
@Test
|
|
138
|
+
func `JS: reuse a prepared statement`() async throws {
|
|
139
|
+
try await sqliteBenchmarkCase { appContext in
|
|
140
|
+
let runtime = try prepareRuntime(appContext)
|
|
141
|
+
_ = try runtime.eval(
|
|
142
|
+
"""
|
|
143
|
+
var prepared = new NativeStatement();
|
|
144
|
+
db.prepareSync(prepared, 'SELECT \(BenchmarkSchema.selectColumns) FROM t WHERE id > ? LIMIT 100');
|
|
145
|
+
"""
|
|
146
|
+
)
|
|
147
|
+
let run = try driver(
|
|
148
|
+
runtime,
|
|
149
|
+
"""
|
|
150
|
+
prepared.runSync(db, { 0: i % 9000 }, {}, true);
|
|
151
|
+
prepared.getColumnNamesSync();
|
|
152
|
+
prepared.getAllSync(db);
|
|
153
|
+
"""
|
|
154
|
+
)
|
|
155
|
+
try benchmark("JS: prepared statement reuse, 100 rows", runtime: runtime) { iterations in
|
|
156
|
+
_ = try run.call(arguments: iterations)
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/// `SQLiteDatabase.runSync(source, [params])` without the prepare and finalize around it, so the
|
|
162
|
+
/// number isolates parameter binding and the run result.
|
|
163
|
+
@Test
|
|
164
|
+
func `JS: insert with array parameters`() async throws {
|
|
165
|
+
try await sqliteBenchmarkCase { appContext in
|
|
166
|
+
let runtime = try prepareRuntime(appContext)
|
|
167
|
+
_ = try runtime.eval(
|
|
168
|
+
"""
|
|
169
|
+
var insert = new NativeStatement();
|
|
170
|
+
db.prepareSync(insert, 'INSERT INTO t (int_value, real_value, text_value, null_value) VALUES (?, ?, ?, ?)');
|
|
171
|
+
"""
|
|
172
|
+
)
|
|
173
|
+
let run = try driver(runtime, "insert.runSync(db, { 0: i, 1: 1.5, 2: 'row', 3: null }, {}, true);")
|
|
174
|
+
try benchmark("JS: runSync insert with 4 array parameters", runtime: runtime) { iterations in
|
|
175
|
+
_ = try run.call(arguments: iterations)
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
@Test
|
|
181
|
+
func `JS: column names of a prepared statement`() async throws {
|
|
182
|
+
try await sqliteBenchmarkCase { appContext in
|
|
183
|
+
let runtime = try prepareRuntime(appContext)
|
|
184
|
+
_ = try runtime.eval(
|
|
185
|
+
"""
|
|
186
|
+
var columns = new NativeStatement();
|
|
187
|
+
db.prepareSync(columns, 'SELECT \(BenchmarkSchema.selectColumns) FROM t');
|
|
188
|
+
"""
|
|
189
|
+
)
|
|
190
|
+
let run = try driver(runtime, "columns.getColumnNamesSync();")
|
|
191
|
+
try benchmark("JS: getColumnNamesSync (5 columns)", runtime: runtime) { iterations in
|
|
192
|
+
_ = try run.call(arguments: iterations)
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|