expo-sqlite 58.0.3 → 58.0.5
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 +12 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/.cmake/api/v1/reply/cache-v2-9594dd53e9b9bd1c31d4.json +1455 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/.cmake/api/v1/reply/cmakeFiles-v1-2db5a9f07e8966437862.json +194 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/.cmake/api/v1/reply/codemodel-v2-03c56ba9db51f27a9903.json +60 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json +14 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/.cmake/api/v1/reply/index-2026-09-22T11-33-36-0818.json +92 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/.cmake/api/v1/reply/target-expo-sqlite-Debug-c772ae8b3b89e3b342ea.json +310 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/.ninja_deps +0 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/.ninja_log +13 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/CMakeCache.txt +431 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeCCompiler.cmake +72 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeCXXCompiler.cmake +83 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_C.bin +0 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeSystem.cmake +15 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.c +803 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.o +0 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/CMakeFiles/CMakeOutput.log +264 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/CMakeFiles/TargetDirectories.txt +3 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/CMakeFiles/cmake.check_cache +1 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/CMakeFiles/expo-sqlite.dir/Users/alanhughes/Work/expo/packages/expo-sqlite/vendor/sqlite3/sqlite3.c.o +0 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeDatabaseBinding.cpp.o +0 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeSessionBinding.cpp.o +0 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/CMakeFiles/expo-sqlite.dir/src/main/cpp/NativeStatementBinding.cpp.o +0 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/CMakeFiles/expo-sqlite.dir/src/main/cpp/SQLite3Main.cpp.o +0 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/CMakeFiles/rules.ninja +74 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/additional_project_files.txt +0 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/android_gradle_build.json +44 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/android_gradle_build_mini.json +31 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/build.ninja +185 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/build_file_index.txt +3 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/cmake_install.cmake +54 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/compile_commands.json +27 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/compile_commands.json.bin +0 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/configure_fingerprint.bin +32 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/metadata_generation_command.txt +25 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/prefab_config.json +8 -0
- package/android/.cxx/Debug/611h1z2v/arm64-v8a/symbol_folder_index.txt +1 -0
- package/android/.cxx/Debug/611h1z2v/hash_key.txt +32 -0
- package/android/.cxx/Debug/611h1z2v/prefab/arm64-v8a/prefab/lib/aarch64-linux-android/cmake/fbjni/fbjniConfig.cmake +9 -0
- package/android/.cxx/Debug/611h1z2v/prefab/arm64-v8a/prefab/lib/aarch64-linux-android/cmake/fbjni/fbjniConfigVersion.cmake +9 -0
- package/android/.cxx/Debug/611h1z2v/prefab/arm64-v8a/prefab/lib/aarch64-linux-android/cmake/kolibri-android/kolibri-androidConfig.cmake +9 -0
- package/android/.cxx/Debug/611h1z2v/prefab/arm64-v8a/prefab/lib/aarch64-linux-android/cmake/kolibri-android/kolibri-androidConfigVersion.cmake +9 -0
- package/android/.cxx/Debug/611h1z2v/prefab/x86/prefab/lib/i686-linux-android/cmake/fbjni/fbjniConfig.cmake +9 -0
- package/android/.cxx/Debug/611h1z2v/prefab/x86/prefab/lib/i686-linux-android/cmake/fbjni/fbjniConfigVersion.cmake +9 -0
- package/android/.cxx/Debug/611h1z2v/prefab/x86/prefab/lib/i686-linux-android/cmake/kolibri-android/kolibri-androidConfig.cmake +9 -0
- package/android/.cxx/Debug/611h1z2v/prefab/x86/prefab/lib/i686-linux-android/cmake/kolibri-android/kolibri-androidConfigVersion.cmake +9 -0
- package/android/.cxx/Debug/611h1z2v/x86/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
- package/android/.cxx/Debug/611h1z2v/x86/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
- package/android/.cxx/Debug/611h1z2v/x86/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
- package/android/.cxx/Debug/611h1z2v/x86/.cmake/api/v1/reply/cache-v2-d1b849159435ca2b67e4.json +1455 -0
- package/android/.cxx/Debug/611h1z2v/x86/.cmake/api/v1/reply/cmakeFiles-v1-388a979374686240c8ac.json +194 -0
- package/android/.cxx/Debug/611h1z2v/x86/.cmake/api/v1/reply/codemodel-v2-f1348e51cdfbc75a2d03.json +60 -0
- package/android/.cxx/Debug/611h1z2v/x86/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json +14 -0
- package/android/.cxx/Debug/611h1z2v/x86/.cmake/api/v1/reply/index-2026-09-22T12-20-49-0455.json +92 -0
- package/android/.cxx/Debug/611h1z2v/x86/.cmake/api/v1/reply/target-expo-sqlite-Debug-fd3cc878da09f49b20b0.json +310 -0
- package/android/.cxx/Debug/611h1z2v/x86/CMakeCache.txt +431 -0
- package/android/.cxx/Debug/611h1z2v/x86/CMakeFiles/3.22.1-g37088a8/CMakeCCompiler.cmake +72 -0
- package/android/.cxx/Debug/611h1z2v/x86/CMakeFiles/3.22.1-g37088a8/CMakeCXXCompiler.cmake +83 -0
- package/android/.cxx/Debug/611h1z2v/x86/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_C.bin +0 -0
- package/android/.cxx/Debug/611h1z2v/x86/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/android/.cxx/Debug/611h1z2v/x86/CMakeFiles/3.22.1-g37088a8/CMakeSystem.cmake +15 -0
- package/android/.cxx/Debug/611h1z2v/x86/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.c +803 -0
- package/android/.cxx/Debug/611h1z2v/x86/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.o +0 -0
- package/android/.cxx/Debug/611h1z2v/x86/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- package/android/.cxx/Debug/611h1z2v/x86/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
- package/android/.cxx/Debug/611h1z2v/x86/CMakeFiles/CMakeOutput.log +256 -0
- package/android/.cxx/Debug/611h1z2v/x86/CMakeFiles/TargetDirectories.txt +3 -0
- package/android/.cxx/Debug/611h1z2v/x86/CMakeFiles/cmake.check_cache +1 -0
- package/android/.cxx/Debug/611h1z2v/x86/CMakeFiles/rules.ninja +74 -0
- package/android/.cxx/Debug/611h1z2v/x86/additional_project_files.txt +0 -0
- package/android/.cxx/Debug/611h1z2v/x86/android_gradle_build.json +44 -0
- package/android/.cxx/Debug/611h1z2v/x86/android_gradle_build_mini.json +31 -0
- package/android/.cxx/Debug/611h1z2v/x86/build.ninja +185 -0
- package/android/.cxx/Debug/611h1z2v/x86/build_file_index.txt +3 -0
- package/android/.cxx/Debug/611h1z2v/x86/cmake_install.cmake +54 -0
- package/android/.cxx/Debug/611h1z2v/x86/compile_commands.json +27 -0
- package/android/.cxx/Debug/611h1z2v/x86/compile_commands.json.bin +0 -0
- package/android/.cxx/Debug/611h1z2v/x86/configure_fingerprint.bin +33 -0
- package/android/.cxx/Debug/611h1z2v/x86/metadata_generation_command.txt +25 -0
- package/android/.cxx/Debug/611h1z2v/x86/prefab_config.json +8 -0
- package/android/.cxx/Debug/611h1z2v/x86/symbol_folder_index.txt +1 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/.cmake/api/v1/reply/cache-v2-78bbb67ef2e5303a90f2.json +1487 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/.cmake/api/v1/reply/cmakeFiles-v1-36ba212a0f357943e830.json +809 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/.cmake/api/v1/reply/codemodel-v2-116f50c3201537e03e27.json +60 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/.cmake/api/v1/reply/directory-.-RelWithDebInfo-f5ebdc15457944623624.json +14 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/.cmake/api/v1/reply/index-2026-09-23T15-39-54-0780.json +92 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/.cmake/api/v1/reply/target-expo-sqlite-RelWithDebInfo-90901361ee8d4c0f0611.json +310 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/.ninja_deps +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/.ninja_log +7 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/CMakeCache.txt +431 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeCCompiler.cmake +72 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeCXXCompiler.cmake +83 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_C.bin +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeSystem.cmake +15 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.c +803 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/CMakeFiles/CMakeOutput.log +264 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/CMakeFiles/TargetDirectories.txt +3 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/CMakeFiles/cmake.check_cache +1 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/CMakeFiles/expo-sqlite.dir/Users/alanhughes/Work/expo/packages/expo-sqlite/vendor/sqlite3/sqlite3.c.o +0 -0
- 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/CMakeFiles/rules.ninja +74 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/additional_project_files.txt +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/android_gradle_build.json +44 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/android_gradle_build_mini.json +31 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/build.ninja +196 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/build_file_index.txt +3 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/cmake_install.cmake +54 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/compile_commands.json +27 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/compile_commands.json.bin +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/configure_fingerprint.bin +28 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/metadata_generation_command.txt +25 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/prefab_config.json +8 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/arm64-v8a/symbol_folder_index.txt +1 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/.cmake/api/v1/reply/cache-v2-243a4f0bf11e91cdc4d8.json +1487 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/.cmake/api/v1/reply/cmakeFiles-v1-74456d66c64ab5130b71.json +809 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/.cmake/api/v1/reply/codemodel-v2-c0e5c09f8d4af05e23da.json +60 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/.cmake/api/v1/reply/directory-.-RelWithDebInfo-f5ebdc15457944623624.json +14 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/.cmake/api/v1/reply/index-2026-09-23T15-40-10-0509.json +92 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/.cmake/api/v1/reply/target-expo-sqlite-RelWithDebInfo-4ba3a43729b4fa322330.json +310 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/.ninja_deps +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/.ninja_log +7 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/CMakeCache.txt +431 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CMakeCCompiler.cmake +72 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CMakeCXXCompiler.cmake +83 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_C.bin +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CMakeSystem.cmake +15 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.c +803 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/CMakeFiles/CMakeOutput.log +266 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/CMakeFiles/TargetDirectories.txt +3 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/CMakeFiles/cmake.check_cache +1 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/CMakeFiles/expo-sqlite.dir/Users/alanhughes/Work/expo/packages/expo-sqlite/vendor/sqlite3/sqlite3.c.o +0 -0
- 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/CMakeFiles/expo-sqlite.dir/src/main/cpp/SQLite3Main.cpp.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/CMakeFiles/rules.ninja +74 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/additional_project_files.txt +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/android_gradle_build.json +44 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/android_gradle_build_mini.json +31 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/build.ninja +196 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/build_file_index.txt +3 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/cmake_install.cmake +54 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/compile_commands.json +27 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/compile_commands.json.bin +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/configure_fingerprint.bin +28 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/metadata_generation_command.txt +25 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/prefab_config.json +8 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/armeabi-v7a/symbol_folder_index.txt +1 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/hash_key.txt +32 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/arm64-v8a/prefab/lib/aarch64-linux-android/cmake/fbjni/fbjniConfig.cmake +9 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/arm64-v8a/prefab/lib/aarch64-linux-android/cmake/fbjni/fbjniConfigVersion.cmake +9 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/arm64-v8a/prefab/lib/aarch64-linux-android/cmake/kolibri-android/kolibri-androidConfig.cmake +9 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/arm64-v8a/prefab/lib/aarch64-linux-android/cmake/kolibri-android/kolibri-androidConfigVersion.cmake +9 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/armeabi-v7a/prefab/lib/arm-linux-androideabi/cmake/fbjni/fbjniConfig.cmake +9 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/armeabi-v7a/prefab/lib/arm-linux-androideabi/cmake/fbjni/fbjniConfigVersion.cmake +9 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/armeabi-v7a/prefab/lib/arm-linux-androideabi/cmake/kolibri-android/kolibri-androidConfig.cmake +9 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/armeabi-v7a/prefab/lib/arm-linux-androideabi/cmake/kolibri-android/kolibri-androidConfigVersion.cmake +9 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/x86/prefab/lib/i686-linux-android/cmake/fbjni/fbjniConfig.cmake +9 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/x86/prefab/lib/i686-linux-android/cmake/fbjni/fbjniConfigVersion.cmake +9 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/x86/prefab/lib/i686-linux-android/cmake/kolibri-android/kolibri-androidConfig.cmake +9 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/x86/prefab/lib/i686-linux-android/cmake/kolibri-android/kolibri-androidConfigVersion.cmake +9 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/x86_64/prefab/lib/x86_64-linux-android/cmake/fbjni/fbjniConfig.cmake +9 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/x86_64/prefab/lib/x86_64-linux-android/cmake/fbjni/fbjniConfigVersion.cmake +9 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/x86_64/prefab/lib/x86_64-linux-android/cmake/kolibri-android/kolibri-androidConfig.cmake +9 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/prefab/x86_64/prefab/lib/x86_64-linux-android/cmake/kolibri-android/kolibri-androidConfigVersion.cmake +9 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/.cmake/api/v1/reply/cache-v2-336121a96d78e6796dce.json +1487 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/.cmake/api/v1/reply/cmakeFiles-v1-985fbc81afea194fb834.json +809 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/.cmake/api/v1/reply/codemodel-v2-7f2c86bf1ed6bb14f83e.json +60 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/.cmake/api/v1/reply/directory-.-RelWithDebInfo-f5ebdc15457944623624.json +14 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/.cmake/api/v1/reply/index-2026-09-23T15-40-25-0497.json +92 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/.cmake/api/v1/reply/target-expo-sqlite-RelWithDebInfo-8831e9862f5bc79725de.json +310 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/.ninja_deps +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/.ninja_log +7 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/CMakeCache.txt +431 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/CMakeFiles/3.22.1-g37088a8/CMakeCCompiler.cmake +72 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/CMakeFiles/3.22.1-g37088a8/CMakeCXXCompiler.cmake +83 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_C.bin +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/CMakeFiles/3.22.1-g37088a8/CMakeSystem.cmake +15 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.c +803 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/CMakeFiles/CMakeOutput.log +256 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/CMakeFiles/TargetDirectories.txt +3 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/CMakeFiles/cmake.check_cache +1 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/CMakeFiles/expo-sqlite.dir/Users/alanhughes/Work/expo/packages/expo-sqlite/vendor/sqlite3/sqlite3.c.o +0 -0
- 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/CMakeFiles/rules.ninja +74 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/additional_project_files.txt +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/android_gradle_build.json +44 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/android_gradle_build_mini.json +31 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/build.ninja +196 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/build_file_index.txt +3 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/cmake_install.cmake +54 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/compile_commands.json +27 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/compile_commands.json.bin +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/configure_fingerprint.bin +28 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/metadata_generation_command.txt +25 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/prefab_config.json +8 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86/symbol_folder_index.txt +1 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/.cmake/api/v1/reply/cache-v2-7680fd2ea5093a2a48e5.json +1487 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/.cmake/api/v1/reply/cmakeFiles-v1-f4180429c22746cfd636.json +809 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/.cmake/api/v1/reply/codemodel-v2-60fec8725e2bb1fa02e5.json +60 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/.cmake/api/v1/reply/directory-.-RelWithDebInfo-f5ebdc15457944623624.json +14 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/.cmake/api/v1/reply/index-2026-09-23T15-40-37-0921.json +92 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/.cmake/api/v1/reply/target-expo-sqlite-RelWithDebInfo-baac7cda33db6bea8600.json +310 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/.ninja_deps +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/.ninja_log +7 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/CMakeCache.txt +431 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/CMakeFiles/3.22.1-g37088a8/CMakeCCompiler.cmake +72 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/CMakeFiles/3.22.1-g37088a8/CMakeCXXCompiler.cmake +83 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_C.bin +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/CMakeFiles/3.22.1-g37088a8/CMakeSystem.cmake +15 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.c +803 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/CMakeFiles/CMakeOutput.log +258 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/CMakeFiles/TargetDirectories.txt +3 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/CMakeFiles/cmake.check_cache +1 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/CMakeFiles/expo-sqlite.dir/Users/alanhughes/Work/expo/packages/expo-sqlite/vendor/sqlite3/sqlite3.c.o +0 -0
- 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/CMakeFiles/rules.ninja +74 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/additional_project_files.txt +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/android_gradle_build.json +44 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/android_gradle_build_mini.json +31 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/build.ninja +196 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/build_file_index.txt +3 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/cmake_install.cmake +54 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/compile_commands.json +27 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/compile_commands.json.bin +0 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/configure_fingerprint.bin +28 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/metadata_generation_command.txt +25 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/prefab_config.json +8 -0
- package/android/.cxx/RelWithDebInfo/5g1u4l1v/x86_64/symbol_folder_index.txt +1 -0
- package/android/.cxx/tools/debug/arm64-v8a/compile_commands.json +27 -0
- package/android/.cxx/tools/debug/x86/compile_commands.json +27 -0
- package/android/.cxx/tools/release/arm64-v8a/compile_commands.json +27 -0
- package/android/.cxx/tools/release/armeabi-v7a/compile_commands.json +27 -0
- package/android/.cxx/tools/release/x86/compile_commands.json +27 -0
- package/android/.cxx/tools/release/x86_64/compile_commands.json +27 -0
- package/android/build.gradle +2 -2
- package/android/src/main/cpp/NativeDatabaseBinding.cpp +3 -0
- package/android/src/main/cpp/NativeDatabaseBinding.h +1 -0
- package/android/src/main/java/expo/modules/sqlite/NativeDatabase.kt +2 -0
- package/android/src/main/java/expo/modules/sqlite/NativeDatabaseBinding.kt +1 -0
- package/android/src/main/java/expo/modules/sqlite/SQLExceptions.kt +3 -0
- package/android/src/main/java/expo/modules/sqlite/SQLiteModule.kt +24 -5
- package/build/NativeDatabase.d.ts +1 -0
- package/build/NativeDatabase.js.map +1 -1
- package/build/SQLiteDatabase.d.ts +19 -0
- package/build/SQLiteDatabase.js +36 -3
- package/build/SQLiteDatabase.js.map +1 -1
- package/build/hooks.d.ts +1 -1
- package/dev-plugin-dist/+not-found.html +1 -1
- package/dev-plugin-dist/_expo/static/js/web/__common-b5c30377ac28ec1a3c7472c7feddcab4.js +48 -0
- package/dev-plugin-dist/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js +5 -0
- package/dev-plugin-dist/_expo/static/js/web/_layout-d4a58f50ebdda8715adad68e1571bc0e.js +24 -0
- package/dev-plugin-dist/_expo/static/js/web/entry-9124ce1ac56db7583dd09a0f5dab7f3c.js +836 -0
- package/dev-plugin-dist/_expo/static/js/web/{entry-cd0faf04fd80434b56cfdcef6d043e6f.js → index-5d44464b52f351ee1a8d579d6ec31de6.js} +1740 -2649
- package/dev-plugin-dist/_expo/static/js/web/{worker-8ce5600e5e057a5d4ef584466dc6a249.js → worker-634941622d077e92764ccbb4960edffc.js} +14 -14
- package/dev-plugin-dist/_sitemap.html +1 -1
- package/dev-plugin-dist/index.html +1 -1
- package/expo-module.config.json +1 -1
- package/ios/DatabaseChangeEvent.swift +15 -0
- package/ios/Exceptions.swift +6 -0
- package/ios/NativeDatabase.swift +147 -4
- package/ios/NativeSession.swift +164 -2
- package/ios/NativeStatement.swift +90 -3
- package/ios/SQLiteModule.swift +191 -452
- package/ios/SQLiteOptions.swift +2 -14
- package/ios/Tests/NativeDatabaseTests.swift +105 -0
- package/ios/Tests/NativeSessionTests.swift +102 -0
- package/ios/Tests/NativeStatementTests.swift +90 -0
- package/ios/Tests/OpenDatabaseOptionsTests.swift +44 -0
- package/ios/Tests/SQLiteModuleTests.swift +116 -0
- package/ios/Tests/StatementLockTests.swift +12 -16
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5-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 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5-sources.jar.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5-sources.jar.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5-sources.jar.sha512 +1 -0
- 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 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.aar.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.aar.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.aar.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/{58.0.3/expo.modules.sqlite-58.0.3.module → 58.0.5/expo.modules.sqlite-58.0.5.module} +22 -22
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.module.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.module.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.module.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.module.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/{58.0.3/expo.modules.sqlite-58.0.3.pom → 58.0.5/expo.modules.sqlite-58.0.5.pom} +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.pom.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.pom.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.pom.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.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 +4 -4
- package/src/NativeDatabase.ts +1 -0
- package/src/SQLiteDatabase.ts +38 -3
- package/web/SQLiteModule.node.ts +2 -0
- package/web/SQLiteModule.ts +5 -1
- package/.babelrc +0 -3
- package/.gitignore +0 -8
- package/.npmignore +0 -32
- package/.prettierignore +0 -2
- package/.tsbuildinfo +0 -1
- package/android/.gitignore +0 -263
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.3/expo.modules.sqlite-58.0.3-sources.jar +0 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.3/expo.modules.sqlite-58.0.3-sources.jar.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.3/expo.modules.sqlite-58.0.3-sources.jar.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.3/expo.modules.sqlite-58.0.3-sources.jar.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.3/expo.modules.sqlite-58.0.3-sources.jar.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.3/expo.modules.sqlite-58.0.3.aar +0 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.3/expo.modules.sqlite-58.0.3.aar.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.3/expo.modules.sqlite-58.0.3.aar.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.3/expo.modules.sqlite-58.0.3.aar.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.3/expo.modules.sqlite-58.0.3.aar.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.3/expo.modules.sqlite-58.0.3.module.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.3/expo.modules.sqlite-58.0.3.module.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.3/expo.modules.sqlite-58.0.3.module.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.3/expo.modules.sqlite-58.0.3.module.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.3/expo.modules.sqlite-58.0.3.pom.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.3/expo.modules.sqlite-58.0.3.pom.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.3/expo.modules.sqlite-58.0.3.pom.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.3/expo.modules.sqlite-58.0.3.pom.sha512 +0 -1
- package/plugin/.tsbuildinfo +0 -1
- package/plugin/tsconfig.json +0 -10
- package/plugin/tsconfig.tsbuildinfo +0 -1
- package/tsconfig.all.json +0 -11
- package/tsconfig.json +0 -10
- package/turbo.json +0 -14
- package/web/wa-sqlite/types/tsconfig.json +0 -7
package/ios/SQLiteOptions.swift
CHANGED
|
@@ -2,21 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import ExpoModulesCore
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
@Record
|
|
6
|
+
struct OpenDatabaseOptions: Equatable {
|
|
7
7
|
var enableChangeListener: Bool = false
|
|
8
|
-
|
|
9
|
-
@Field
|
|
10
8
|
var useNewConnection: Bool = false
|
|
11
|
-
|
|
12
|
-
@Field
|
|
13
9
|
var finalizeUnusedStatementsBeforeClosing: Bool = true
|
|
14
|
-
|
|
15
|
-
// MARK: - Equatable
|
|
16
|
-
|
|
17
|
-
static func == (lhs: OpenDatabaseOptions, rhs: OpenDatabaseOptions) -> Bool {
|
|
18
|
-
return lhs.enableChangeListener == rhs.enableChangeListener &&
|
|
19
|
-
lhs.useNewConnection == rhs.useNewConnection &&
|
|
20
|
-
lhs.finalizeUnusedStatementsBeforeClosing == rhs.finalizeUnusedStatementsBeforeClosing
|
|
21
|
-
}
|
|
22
10
|
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
// Copyright 2015-present 650 Industries. All rights reserved.
|
|
2
|
+
|
|
3
|
+
import ExpoModulesCore
|
|
4
|
+
import Testing
|
|
5
|
+
|
|
6
|
+
@testable import ExpoSQLite
|
|
7
|
+
|
|
8
|
+
/// Exercises the connection members that `NativeDatabase` exposes to JavaScript, against an in-memory
|
|
9
|
+
/// database opened through the C API.
|
|
10
|
+
@Suite("NativeDatabase")
|
|
11
|
+
@JavaScriptActor
|
|
12
|
+
final class NativeDatabaseTests {
|
|
13
|
+
private let database: NativeDatabase
|
|
14
|
+
|
|
15
|
+
init() throws {
|
|
16
|
+
var pointer: OpaquePointer?
|
|
17
|
+
#expect(exsqlite3_open(":memory:", &pointer) == SQLITE_OK)
|
|
18
|
+
database = NativeDatabase(pointer, databasePath: ":memory:", openOptions: OpenDatabaseOptions())
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
deinit {
|
|
22
|
+
exsqlite3_close(database.pointer)
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@Test
|
|
26
|
+
func `exec runs the given statements`() throws {
|
|
27
|
+
try database.execSync(source: "CREATE TABLE test (id INTEGER PRIMARY KEY NOT NULL); INSERT INTO test (id) VALUES (1);")
|
|
28
|
+
let statement = NativeStatement()
|
|
29
|
+
try database.prepareSync(statement: statement, source: "SELECT COUNT(*) FROM test")
|
|
30
|
+
#expect(exsqlite3_step(statement.pointer) == SQLITE_ROW)
|
|
31
|
+
#expect(exsqlite3_column_int(statement.pointer, 0) == 1)
|
|
32
|
+
exsqlite3_finalize(statement.pointer)
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@Test
|
|
36
|
+
func `exec surfaces SQLite errors`() {
|
|
37
|
+
#expect(throws: SQLiteErrorException.self) {
|
|
38
|
+
try database.execSync(source: "NOT VALID SQL")
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@Test
|
|
43
|
+
func `prepare rejects a finalized statement`() throws {
|
|
44
|
+
let statement = NativeStatement()
|
|
45
|
+
statement.isFinalized = true
|
|
46
|
+
#expect(throws: AccessClosedResourceException.self) {
|
|
47
|
+
try database.prepareSync(statement: statement, source: "SELECT 1")
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@Test
|
|
52
|
+
func `reports whether a transaction is open`() throws {
|
|
53
|
+
#expect(try database.isInTransactionSync() == false)
|
|
54
|
+
try database.execSync(source: "BEGIN")
|
|
55
|
+
#expect(try database.isInTransactionSync() == true)
|
|
56
|
+
try database.execSync(source: "COMMIT")
|
|
57
|
+
#expect(try database.isInTransactionSync() == false)
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@Test
|
|
61
|
+
func `serialize returns the database file image`() throws {
|
|
62
|
+
try database.execSync(source: "CREATE TABLE test (id INTEGER PRIMARY KEY NOT NULL)")
|
|
63
|
+
let data = try database.serializeSync(databaseName: "main")
|
|
64
|
+
#expect(String(decoding: data.prefix(15), as: UTF8.self) == "SQLite format 3")
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@Test
|
|
68
|
+
func `creates a session bound to the database`() throws {
|
|
69
|
+
try database.execSync(source: "CREATE TABLE test (id INTEGER PRIMARY KEY NOT NULL)")
|
|
70
|
+
let session = NativeSession()
|
|
71
|
+
try database.createSessionSync(session: session, dbName: "main")
|
|
72
|
+
#expect(session.pointer != nil)
|
|
73
|
+
exsqlite3session_delete(session.pointer)
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@Test
|
|
77
|
+
func `loading a missing extension throws`() {
|
|
78
|
+
#expect(throws: SQLiteErrorException.self) {
|
|
79
|
+
try database.loadExtensionSync(libPath: "/nonexistent/extension", entryPoint: nil)
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@Test
|
|
84
|
+
func `throws when the database is closed`() throws {
|
|
85
|
+
database.isClosed = true
|
|
86
|
+
#expect(throws: AccessClosedResourceException.self) {
|
|
87
|
+
try database.execSync(source: "SELECT 1")
|
|
88
|
+
}
|
|
89
|
+
#expect(throws: AccessClosedResourceException.self) {
|
|
90
|
+
try database.isInTransactionSync()
|
|
91
|
+
}
|
|
92
|
+
#expect(throws: AccessClosedResourceException.self) {
|
|
93
|
+
try database.serializeSync(databaseName: "main")
|
|
94
|
+
}
|
|
95
|
+
database.isClosed = false
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@Test
|
|
99
|
+
func `async members run the same operations`() async throws {
|
|
100
|
+
try await database.execAsync(source: "CREATE TABLE test (id INTEGER PRIMARY KEY NOT NULL)")
|
|
101
|
+
#expect(try await database.isInTransactionAsync() == false)
|
|
102
|
+
let data = try await database.serializeAsync(databaseName: "main")
|
|
103
|
+
#expect(data.count > 0)
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
// Copyright 2015-present 650 Industries. All rights reserved.
|
|
2
|
+
|
|
3
|
+
import ExpoModulesCore
|
|
4
|
+
import Testing
|
|
5
|
+
|
|
6
|
+
@testable import ExpoSQLite
|
|
7
|
+
|
|
8
|
+
/// Exercises the session members that `NativeSession` exposes to JavaScript, against an in-memory
|
|
9
|
+
/// database. The session itself is created through the C API so the tests stay independent of the
|
|
10
|
+
/// database members.
|
|
11
|
+
@Suite("NativeSession")
|
|
12
|
+
@JavaScriptActor
|
|
13
|
+
final class NativeSessionTests {
|
|
14
|
+
private let database: NativeDatabase
|
|
15
|
+
private let session = NativeSession()
|
|
16
|
+
|
|
17
|
+
init() throws {
|
|
18
|
+
var pointer: OpaquePointer?
|
|
19
|
+
#expect(exsqlite3_open(":memory:", &pointer) == SQLITE_OK)
|
|
20
|
+
database = NativeDatabase(pointer, databasePath: ":memory:", openOptions: OpenDatabaseOptions())
|
|
21
|
+
let setup = "CREATE TABLE test (id INTEGER PRIMARY KEY NOT NULL, value TEXT NOT NULL);"
|
|
22
|
+
#expect(exsqlite3_exec(database.pointer, setup, nil, nil, nil) == SQLITE_OK)
|
|
23
|
+
#expect(exsqlite3session_create(database.pointer, "main", &session.pointer) == SQLITE_OK)
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
deinit {
|
|
27
|
+
exsqlite3_close(database.pointer)
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
private func execute(_ sql: String) {
|
|
31
|
+
#expect(exsqlite3_exec(database.pointer, sql, nil, nil, nil) == SQLITE_OK)
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
private func rowCount() -> Int32 {
|
|
35
|
+
var statement: OpaquePointer?
|
|
36
|
+
#expect(exsqlite3_prepare_v2(database.pointer, "SELECT COUNT(*) FROM test", -1, &statement, nil) == SQLITE_OK)
|
|
37
|
+
defer {
|
|
38
|
+
exsqlite3_finalize(statement)
|
|
39
|
+
}
|
|
40
|
+
#expect(exsqlite3_step(statement) == SQLITE_ROW)
|
|
41
|
+
return exsqlite3_column_int(statement, 0)
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@Test
|
|
45
|
+
func `records attached table changes into a changeset`() throws {
|
|
46
|
+
try session.attachSync(database: database, table: "test")
|
|
47
|
+
execute("INSERT INTO test (id, value) VALUES (1, 'one')")
|
|
48
|
+
let changeset = try session.createChangesetSync(database: database)
|
|
49
|
+
#expect(changeset.byteLength > 0)
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@Test
|
|
53
|
+
func `records nothing while the session is disabled`() throws {
|
|
54
|
+
try session.attachSync(database: database, table: nil)
|
|
55
|
+
try session.enableSync(database: database, enabled: false)
|
|
56
|
+
execute("INSERT INTO test (id, value) VALUES (1, 'one')")
|
|
57
|
+
let changeset = try session.createChangesetSync(database: database)
|
|
58
|
+
#expect(changeset.byteLength == 0)
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@Test
|
|
62
|
+
func `applying the inverted changeset reverts the recorded changes`() throws {
|
|
63
|
+
try session.attachSync(database: database, table: nil)
|
|
64
|
+
execute("INSERT INTO test (id, value) VALUES (1, 'one')")
|
|
65
|
+
#expect(rowCount() == 1)
|
|
66
|
+
let inverted = try session.createInvertedChangesetSync(database: database)
|
|
67
|
+
try session.applyChangesetSync(database: database, changeset: inverted)
|
|
68
|
+
#expect(rowCount() == 0)
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@Test
|
|
72
|
+
func `inverting a changeset twice yields the original`() throws {
|
|
73
|
+
try session.attachSync(database: database, table: nil)
|
|
74
|
+
execute("INSERT INTO test (id, value) VALUES (1, 'one')")
|
|
75
|
+
let changeset = try session.createChangesetSync(database: database)
|
|
76
|
+
let inverted = try session.invertChangesetSync(database: database, changeset: changeset)
|
|
77
|
+
let restored = try session.invertChangesetSync(database: database, changeset: inverted)
|
|
78
|
+
#expect(restored.byteLength == changeset.byteLength)
|
|
79
|
+
#expect(inverted.byteLength == changeset.byteLength)
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@Test
|
|
83
|
+
func `throws when the database is closed`() throws {
|
|
84
|
+
database.isClosed = true
|
|
85
|
+
#expect(throws: AccessClosedResourceException.self) {
|
|
86
|
+
try session.attachSync(database: database, table: nil)
|
|
87
|
+
}
|
|
88
|
+
#expect(throws: AccessClosedResourceException.self) {
|
|
89
|
+
try session.createChangesetSync(database: database)
|
|
90
|
+
}
|
|
91
|
+
database.isClosed = false
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@Test
|
|
95
|
+
func `async members run the same operations`() async throws {
|
|
96
|
+
try await session.attachAsync(database: database, table: nil)
|
|
97
|
+
execute("INSERT INTO test (id, value) VALUES (1, 'one')")
|
|
98
|
+
let changeset = try await session.createChangesetAsync(database: database)
|
|
99
|
+
#expect(changeset.byteLength > 0)
|
|
100
|
+
try await session.closeAsync(database: database)
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
// Copyright 2015-present 650 Industries. All rights reserved.
|
|
2
|
+
|
|
3
|
+
import ExpoModulesCore
|
|
4
|
+
import Testing
|
|
5
|
+
|
|
6
|
+
@testable import ExpoSQLite
|
|
7
|
+
|
|
8
|
+
/// Exercises the statement members that `NativeStatement` exposes to JavaScript, against an in-memory
|
|
9
|
+
/// database. Statements are prepared through the C API so the tests stay independent of the database
|
|
10
|
+
/// members.
|
|
11
|
+
@Suite("NativeStatement")
|
|
12
|
+
@JavaScriptActor
|
|
13
|
+
final class NativeStatementTests {
|
|
14
|
+
private let database: NativeDatabase
|
|
15
|
+
|
|
16
|
+
init() throws {
|
|
17
|
+
var pointer: OpaquePointer?
|
|
18
|
+
#expect(exsqlite3_open(":memory:", &pointer) == SQLITE_OK)
|
|
19
|
+
database = NativeDatabase(pointer, databasePath: ":memory:", openOptions: OpenDatabaseOptions())
|
|
20
|
+
let setup = """
|
|
21
|
+
CREATE TABLE test (id INTEGER PRIMARY KEY NOT NULL, value TEXT NOT NULL);
|
|
22
|
+
INSERT INTO test (id, value) VALUES (1, 'one');
|
|
23
|
+
INSERT INTO test (id, value) VALUES (2, 'two');
|
|
24
|
+
"""
|
|
25
|
+
#expect(exsqlite3_exec(database.pointer, setup, nil, nil, nil) == SQLITE_OK)
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
deinit {
|
|
29
|
+
exsqlite3_close(database.pointer)
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
private func prepare(_ source: String) -> NativeStatement {
|
|
33
|
+
let statement = NativeStatement()
|
|
34
|
+
#expect(exsqlite3_prepare_v2(database.pointer, source, -1, &statement.pointer, nil) == SQLITE_OK)
|
|
35
|
+
return statement
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@Test
|
|
39
|
+
func `returns the column names of a prepared statement`() throws {
|
|
40
|
+
let statement = prepare("SELECT id, value AS label FROM test")
|
|
41
|
+
#expect(try statement.getColumnNamesSync() == ["id", "label"])
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@Test
|
|
45
|
+
func `reset rewinds a stepped statement to its first row`() throws {
|
|
46
|
+
let statement = prepare("SELECT id FROM test ORDER BY id")
|
|
47
|
+
#expect(exsqlite3_step(statement.pointer) == SQLITE_ROW)
|
|
48
|
+
#expect(exsqlite3_step(statement.pointer) == SQLITE_ROW)
|
|
49
|
+
#expect(exsqlite3_column_int(statement.pointer, 0) == 2)
|
|
50
|
+
try statement.resetSync(database: database)
|
|
51
|
+
#expect(exsqlite3_step(statement.pointer) == SQLITE_ROW)
|
|
52
|
+
#expect(exsqlite3_column_int(statement.pointer, 0) == 1)
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@Test
|
|
56
|
+
func `finalize marks the statement finalized and rejects further use`() throws {
|
|
57
|
+
let statement = prepare("SELECT id FROM test")
|
|
58
|
+
try statement.finalizeSync(database: database)
|
|
59
|
+
#expect(statement.isFinalized)
|
|
60
|
+
#expect(throws: AccessClosedResourceException.self) {
|
|
61
|
+
try statement.getColumnNamesSync()
|
|
62
|
+
}
|
|
63
|
+
#expect(throws: AccessClosedResourceException.self) {
|
|
64
|
+
try statement.resetSync(database: database)
|
|
65
|
+
}
|
|
66
|
+
#expect(throws: AccessClosedResourceException.self) {
|
|
67
|
+
try statement.finalizeSync(database: database)
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@Test
|
|
72
|
+
func `throws when the database is closed`() throws {
|
|
73
|
+
let statement = prepare("SELECT id FROM test")
|
|
74
|
+
database.isClosed = true
|
|
75
|
+
#expect(throws: AccessClosedResourceException.self) {
|
|
76
|
+
try statement.resetSync(database: database)
|
|
77
|
+
}
|
|
78
|
+
database.isClosed = false
|
|
79
|
+
exsqlite3_finalize(statement.pointer)
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@Test
|
|
83
|
+
func `async members run the same operations`() async throws {
|
|
84
|
+
let statement = prepare("SELECT id, value FROM test")
|
|
85
|
+
#expect(try await statement.getColumnNamesAsync() == ["id", "value"])
|
|
86
|
+
try await statement.resetAsync(database: database)
|
|
87
|
+
try await statement.finalizeAsync(database: database)
|
|
88
|
+
#expect(statement.isFinalized)
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// Copyright 2015-present 650 Industries. All rights reserved.
|
|
2
|
+
|
|
3
|
+
import ExpoModulesCore
|
|
4
|
+
import Testing
|
|
5
|
+
|
|
6
|
+
@testable import ExpoSQLite
|
|
7
|
+
|
|
8
|
+
@Suite("OpenDatabaseOptions")
|
|
9
|
+
struct OpenDatabaseOptionsTests {
|
|
10
|
+
private let appContext = AppContext()
|
|
11
|
+
|
|
12
|
+
@Test
|
|
13
|
+
func `decodes every option to its default from an empty dictionary`() throws {
|
|
14
|
+
let options = try OpenDatabaseOptions.from(dictionary: [:], appContext: appContext)
|
|
15
|
+
#expect(options.enableChangeListener == false)
|
|
16
|
+
#expect(options.useNewConnection == false)
|
|
17
|
+
#expect(options.finalizeUnusedStatementsBeforeClosing == true)
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@Test
|
|
21
|
+
func `decodes the provided options and keeps the rest at their defaults`() throws {
|
|
22
|
+
let options = try OpenDatabaseOptions.from(
|
|
23
|
+
dictionary: ["useNewConnection": true, "finalizeUnusedStatementsBeforeClosing": false],
|
|
24
|
+
appContext: appContext
|
|
25
|
+
)
|
|
26
|
+
#expect(options.enableChangeListener == false)
|
|
27
|
+
#expect(options.useNewConnection == true)
|
|
28
|
+
#expect(options.finalizeUnusedStatementsBeforeClosing == false)
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/// The module reuses a cached database only when its options equal the requested ones, so equality
|
|
32
|
+
/// has to look at every option.
|
|
33
|
+
@Test
|
|
34
|
+
func `compares equal only when every option matches`() throws {
|
|
35
|
+
let defaults = try OpenDatabaseOptions.from(dictionary: [:], appContext: appContext)
|
|
36
|
+
let sameDefaults = try OpenDatabaseOptions.from(dictionary: [:], appContext: appContext)
|
|
37
|
+
let newConnection = try OpenDatabaseOptions.from(
|
|
38
|
+
dictionary: ["useNewConnection": true],
|
|
39
|
+
appContext: appContext
|
|
40
|
+
)
|
|
41
|
+
#expect(defaults == sameDefaults)
|
|
42
|
+
#expect(defaults != newConnection)
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
// Copyright 2015-present 650 Industries. All rights reserved.
|
|
2
|
+
|
|
3
|
+
import ExpoModulesCore
|
|
4
|
+
import Testing
|
|
5
|
+
|
|
6
|
+
@testable import ExpoSQLite
|
|
7
|
+
|
|
8
|
+
/// Exercises the module-level surface: the constants JavaScript reads, the change-event payload shape
|
|
9
|
+
/// and the listener bookkeeping behind the update hook.
|
|
10
|
+
@Suite("SQLiteModule")
|
|
11
|
+
@JavaScriptActor
|
|
12
|
+
struct SQLiteModuleTests {
|
|
13
|
+
private let appContext = AppContext()
|
|
14
|
+
private let module: SQLiteModule
|
|
15
|
+
|
|
16
|
+
init() {
|
|
17
|
+
module = SQLiteModule(appContext: appContext)
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@Test
|
|
21
|
+
func `default database directory is the SQLite folder of the app's documents`() {
|
|
22
|
+
#if os(tvOS)
|
|
23
|
+
let baseDirectory = appContext.config.cacheDirectory
|
|
24
|
+
#else
|
|
25
|
+
let baseDirectory = appContext.config.documentDirectory
|
|
26
|
+
#endif
|
|
27
|
+
let expected = baseDirectory?.appendingPathComponent("SQLite").standardized.path
|
|
28
|
+
#expect(module.defaultDatabaseDirectory == expected)
|
|
29
|
+
#expect(module.defaultDatabaseDirectory?.hasSuffix("/SQLite") == true)
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@Test
|
|
33
|
+
func `bundles no extensions unless the build enables them`() {
|
|
34
|
+
#if WITH_SQLITE_VEC
|
|
35
|
+
#expect(module.bundledExtensions.keys.sorted() == ["sqlite-vec"])
|
|
36
|
+
#else
|
|
37
|
+
#expect(module.bundledExtensions.isEmpty)
|
|
38
|
+
#endif
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@Test
|
|
42
|
+
func `tracks whether JavaScript listens for database changes`() {
|
|
43
|
+
#expect(module.hasListeners == false)
|
|
44
|
+
module.didStartListening(event: "onDatabaseChange")
|
|
45
|
+
#expect(module.hasListeners == true)
|
|
46
|
+
module.didStopListening(event: "onDatabaseChange")
|
|
47
|
+
#expect(module.hasListeners == false)
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@Test
|
|
51
|
+
func `database change event carries the fields JavaScript reads`() {
|
|
52
|
+
let event = DatabaseChangeEvent(
|
|
53
|
+
databaseName: "main",
|
|
54
|
+
databaseFilePath: "/tmp/test.db",
|
|
55
|
+
tableName: "test",
|
|
56
|
+
rowId: 3,
|
|
57
|
+
typeId: .insert
|
|
58
|
+
)
|
|
59
|
+
let dictionary = event.toDictionary(appContext: appContext)
|
|
60
|
+
#expect(dictionary.keys.sorted() == ["databaseFilePath", "databaseName", "rowId", "tableName", "typeId"])
|
|
61
|
+
#expect(dictionary["databaseName"] as? String == "main")
|
|
62
|
+
#expect(dictionary["tableName"] as? String == "test")
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@Test
|
|
66
|
+
func `ensuring the in-memory database path needs no file system`() throws {
|
|
67
|
+
try module.ensureDatabasePathExistsSync(databasePath: ":memory:")
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@Test
|
|
71
|
+
func `ensuring a file database path creates its directory`() throws {
|
|
72
|
+
let directory = FileManager.default.temporaryDirectory.appendingPathComponent(UUID().uuidString)
|
|
73
|
+
defer {
|
|
74
|
+
try? FileManager.default.removeItem(at: directory)
|
|
75
|
+
}
|
|
76
|
+
try module.ensureDatabasePathExistsSync(databasePath: directory.appendingPathComponent("test.db").path)
|
|
77
|
+
#expect(FileManager.default.fileExists(atPath: directory.path))
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@Test
|
|
81
|
+
func `deleting the in-memory database does nothing`() throws {
|
|
82
|
+
try module.deleteDatabaseSync(databasePath: ":memory:")
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@Test
|
|
86
|
+
func `backs up one database into another`() throws {
|
|
87
|
+
var sourcePointer: OpaquePointer?
|
|
88
|
+
var destinationPointer: OpaquePointer?
|
|
89
|
+
#expect(exsqlite3_open(":memory:", &sourcePointer) == SQLITE_OK)
|
|
90
|
+
#expect(exsqlite3_open(":memory:", &destinationPointer) == SQLITE_OK)
|
|
91
|
+
defer {
|
|
92
|
+
exsqlite3_close(sourcePointer)
|
|
93
|
+
exsqlite3_close(destinationPointer)
|
|
94
|
+
}
|
|
95
|
+
let source = NativeDatabase(sourcePointer, databasePath: ":memory:", openOptions: OpenDatabaseOptions())
|
|
96
|
+
let destination = NativeDatabase(destinationPointer, databasePath: ":memory:", openOptions: OpenDatabaseOptions())
|
|
97
|
+
try source.execSync(source: "CREATE TABLE test (id INTEGER PRIMARY KEY NOT NULL); INSERT INTO test (id) VALUES (7);")
|
|
98
|
+
try module.backupDatabaseSync(
|
|
99
|
+
destDatabase: destination,
|
|
100
|
+
destDatabaseName: "main",
|
|
101
|
+
sourceDatabase: source,
|
|
102
|
+
sourceDatabaseName: "main"
|
|
103
|
+
)
|
|
104
|
+
let statement = NativeStatement()
|
|
105
|
+
try destination.prepareSync(statement: statement, source: "SELECT id FROM test")
|
|
106
|
+
#expect(exsqlite3_step(statement.pointer) == SQLITE_ROW)
|
|
107
|
+
#expect(exsqlite3_column_int(statement.pointer, 0) == 7)
|
|
108
|
+
exsqlite3_finalize(statement.pointer)
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@Test
|
|
112
|
+
func `async members run the same operations`() async throws {
|
|
113
|
+
try await module.ensureDatabasePathExistsAsync(databasePath: ":memory:")
|
|
114
|
+
try await module.deleteDatabaseAsync(databasePath: ":memory:")
|
|
115
|
+
}
|
|
116
|
+
}
|
|
@@ -37,28 +37,24 @@ final class StatementLockTests {
|
|
|
37
37
|
/// call, which is what the module takes. The row read belongs to whichever caller bound the
|
|
38
38
|
/// statement last, so callers assert only that a value the table holds comes back.
|
|
39
39
|
private func runAndReadFirstRow(of statement: NativeStatement, id: Int32) -> String? {
|
|
40
|
-
statement.lock.
|
|
41
|
-
|
|
42
|
-
statement.
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
return nil
|
|
40
|
+
return statement.lock.withLock { _ -> String? in
|
|
41
|
+
exsqlite3_reset(statement.pointer)
|
|
42
|
+
exsqlite3_clear_bindings(statement.pointer)
|
|
43
|
+
exsqlite3_bind_int(statement.pointer, 1, id)
|
|
44
|
+
guard exsqlite3_step(statement.pointer) == SQLITE_ROW,
|
|
45
|
+
let text = exsqlite3_column_text(statement.pointer, 0)
|
|
46
|
+
else {
|
|
47
|
+
return nil
|
|
48
|
+
}
|
|
49
|
+
return String(cString: text)
|
|
51
50
|
}
|
|
52
|
-
return String(cString: text)
|
|
53
51
|
}
|
|
54
52
|
|
|
55
53
|
/// Drains the cursor in its own critical section, the way `getAll` does.
|
|
56
54
|
private func drain(_ statement: NativeStatement) {
|
|
57
|
-
statement.lock.
|
|
58
|
-
|
|
59
|
-
statement.lock.signal()
|
|
55
|
+
statement.lock.withLock { _ in
|
|
56
|
+
while exsqlite3_step(statement.pointer) == SQLITE_ROW {}
|
|
60
57
|
}
|
|
61
|
-
while exsqlite3_step(statement.pointer) == SQLITE_ROW {}
|
|
62
58
|
}
|
|
63
59
|
|
|
64
60
|
@Test
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
d1da3a6df8335c04eb1b803a0b4e73cf
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1d398068a3b652c5a9392d4115c9b8258adc42ef
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
a4b537cf4b334950fc82e5d251599ed7b3bc6d5c2410a3fdca38b81650fe27c2
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7584658ab5c9dd4f06e3445b056b83007c6fc6162cdda3b3df67bb9b7ec45e17d686903a37feae801ee8b966ed1bd36de9386d739c783bbaec65391dbaa6dc65
|
package/local-maven-repo/host/exp/exponent/expo.modules.sqlite/58.0.5/expo.modules.sqlite-58.0.5.aar
ADDED
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
d952f01aa0c2b9341bd46b742afea2f3
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
124eae424bb185c8a6c6f9ad3d808337ffa285c1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
66e4488bd02141346b04a8bc40fd3880143470b69d1f12b2897b6ab9e90650e9
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
01dbc41973b2ebae1772a5edc24e2e80ebbc3fef8f43a49a0c6d525d06af00dc2cf46c5e104387a2f59f252b632756f7c0e4dc05f231c91ec43676df88ef56f1
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "host.exp.exponent",
|
|
5
5
|
"module": "expo.modules.sqlite",
|
|
6
|
-
"version": "58.0.
|
|
6
|
+
"version": "58.0.5",
|
|
7
7
|
"attributes": {
|
|
8
8
|
"org.gradle.status": "release"
|
|
9
9
|
}
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
{
|
|
27
|
-
"name": "expo.modules.sqlite-58.0.
|
|
28
|
-
"url": "expo.modules.sqlite-58.0.
|
|
29
|
-
"size":
|
|
30
|
-
"sha512": "
|
|
31
|
-
"sha256": "
|
|
32
|
-
"sha1": "
|
|
33
|
-
"md5": "
|
|
27
|
+
"name": "expo.modules.sqlite-58.0.5.aar",
|
|
28
|
+
"url": "expo.modules.sqlite-58.0.5.aar",
|
|
29
|
+
"size": 3960770,
|
|
30
|
+
"sha512": "01dbc41973b2ebae1772a5edc24e2e80ebbc3fef8f43a49a0c6d525d06af00dc2cf46c5e104387a2f59f252b632756f7c0e4dc05f231c91ec43676df88ef56f1",
|
|
31
|
+
"sha256": "66e4488bd02141346b04a8bc40fd3880143470b69d1f12b2897b6ab9e90650e9",
|
|
32
|
+
"sha1": "124eae424bb185c8a6c6f9ad3d808337ffa285c1",
|
|
33
|
+
"md5": "d952f01aa0c2b9341bd46b742afea2f3"
|
|
34
34
|
}
|
|
35
35
|
]
|
|
36
36
|
},
|
|
@@ -67,13 +67,13 @@
|
|
|
67
67
|
],
|
|
68
68
|
"files": [
|
|
69
69
|
{
|
|
70
|
-
"name": "expo.modules.sqlite-58.0.
|
|
71
|
-
"url": "expo.modules.sqlite-58.0.
|
|
72
|
-
"size":
|
|
73
|
-
"sha512": "
|
|
74
|
-
"sha256": "
|
|
75
|
-
"sha1": "
|
|
76
|
-
"md5": "
|
|
70
|
+
"name": "expo.modules.sqlite-58.0.5.aar",
|
|
71
|
+
"url": "expo.modules.sqlite-58.0.5.aar",
|
|
72
|
+
"size": 3960770,
|
|
73
|
+
"sha512": "01dbc41973b2ebae1772a5edc24e2e80ebbc3fef8f43a49a0c6d525d06af00dc2cf46c5e104387a2f59f252b632756f7c0e4dc05f231c91ec43676df88ef56f1",
|
|
74
|
+
"sha256": "66e4488bd02141346b04a8bc40fd3880143470b69d1f12b2897b6ab9e90650e9",
|
|
75
|
+
"sha1": "124eae424bb185c8a6c6f9ad3d808337ffa285c1",
|
|
76
|
+
"md5": "d952f01aa0c2b9341bd46b742afea2f3"
|
|
77
77
|
}
|
|
78
78
|
]
|
|
79
79
|
},
|
|
@@ -87,13 +87,13 @@
|
|
|
87
87
|
},
|
|
88
88
|
"files": [
|
|
89
89
|
{
|
|
90
|
-
"name": "expo.modules.sqlite-58.0.
|
|
91
|
-
"url": "expo.modules.sqlite-58.0.
|
|
92
|
-
"size":
|
|
93
|
-
"sha512": "
|
|
94
|
-
"sha256": "
|
|
95
|
-
"sha1": "
|
|
96
|
-
"md5": "
|
|
90
|
+
"name": "expo.modules.sqlite-58.0.5-sources.jar",
|
|
91
|
+
"url": "expo.modules.sqlite-58.0.5-sources.jar",
|
|
92
|
+
"size": 11821,
|
|
93
|
+
"sha512": "7584658ab5c9dd4f06e3445b056b83007c6fc6162cdda3b3df67bb9b7ec45e17d686903a37feae801ee8b966ed1bd36de9386d739c783bbaec65391dbaa6dc65",
|
|
94
|
+
"sha256": "a4b537cf4b334950fc82e5d251599ed7b3bc6d5c2410a3fdca38b81650fe27c2",
|
|
95
|
+
"sha1": "1d398068a3b652c5a9392d4115c9b8258adc42ef",
|
|
96
|
+
"md5": "d1da3a6df8335c04eb1b803a0b4e73cf"
|
|
97
97
|
}
|
|
98
98
|
]
|
|
99
99
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
b6efef6843b4fa61a8d1f40c4910690d
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
60ad740877eca94d63b7b76ba884548c0aa16bfb
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
cd23116e9f8be7c62603e3188ddb813233ddaf66d4b1ab327f41ae292024a4c8
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1700e8bbc63eeba715ef62bb3952693a53ff74e42e8c8874f51dd4d9f02c279580d9a9519fcecef8e406ef6f147f747f49a009fe1b2f69aab151365c19ea90f7
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<modelVersion>4.0.0</modelVersion>
|
|
10
10
|
<groupId>host.exp.exponent</groupId>
|
|
11
11
|
<artifactId>expo.modules.sqlite</artifactId>
|
|
12
|
-
<version>58.0.
|
|
12
|
+
<version>58.0.5</version>
|
|
13
13
|
<packaging>aar</packaging>
|
|
14
14
|
<name>expo.modules.sqlite</name>
|
|
15
15
|
<url>https://github.com/expo/expo</url>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
5a46bfa5e5be04918c17d1da3c8be451
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
af61ea4b8233c59e7c5ea1be94c40ae27e7b3738
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
364039a6932bba44f279f495ee31277a7c9d187c9e41d7330fbea6c00766a1b5
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
f8f3349769ba490cfc7b5cad49b149f0cda78ac09efe72e433b2a8a26a46fd27765fa28aa8ed2e7649578ed5a4df908d01f826858b4c019694ef9c206eb6f807
|