-
-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
Hi,
It seems that the RTREE extension is not activated by default in react-native-nitro-sqlite.
While performing a schema migration with the following SQL command:
ALTER TABLE mytable RENAME TO mynewtablename;
I encountered the following error:
no such module: rtree
By adding manually in node_modules\react-native-nitro-sqlite\android\CMakeLists.txt:
add_definitions(
-DSQLITE_ENABLE_RTREE
)
The issue is solved, but can it be enabled by default ?
This would help ensure compatibility with databases or queries that depend on RTREE features.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels