Oscar Franco

Results 308 comments of Oscar Franco

I think Expo started embedding their expo-sqlite library by default on their GO version. So it looks like they are importing the OS embedded version. At least that was what...

`location` [only appends to the default path](https://github.com/margelo/react-native-quick-sqlite/blob/main/cpp/bindings.cpp#L50) (NSDocumentsDirectory on iOS and the [files dir on android](https://github.com/margelo/react-native-quick-sqlite/blob/main/android/src/main/java/com/reactnativequicksqlite/QuickSQLiteBridge.java#L17)). It doesn't absolutely replace the path. If you want to navigate to the databases...

The wrapper QuickValue is just a convenient way to encapsulate any type of values and return them to the calling JSI function to be later returned to the JS context....

I just took another look into your code and I realized you only modified the sync operations. You might be lacking some context here. Indeed it is no problem to...

Yeah, Hosted Objects was suggested at some point, I didn't quite see the benefit though, it gives some sort of lazy initialization on access, but if you iterate through the...

> Once you have thousands of items loaded from the database and displayed in, say, scrolled view the cost of copying _everything_ upfront starts to matter. Yeah, you are right....

Created a new package. Mostly API compatible, you will need to relocate your DB or specify a path. But it is quite faster when loading large sets of data. https://github.com/OP-Engineering/op-sqlite

cheers! access are a bit slower, so if you iterate over all of the data it will probably be slower, but I guess it is better when used in flatlists...

I just published a new version. I've now gotten Android to under a second and iOS to ~500ms to load the 300k records. @mjmasn give it a try.

Please open a ticket in the new repo and try the latest version 1.0.3