react-native-quick-sqlite

Fast SQLite for react-native.

Stars
478
Committers
16
react-native-quick-sqlite - 7.0.0 Latest Release

Published by ospfranco almost 2 years ago

Transactions now return promises. The transactionAsync method has been completely removed since it is redundant.

react-native-quick-sqlite - Extensions Support

Published by ospfranco about 2 years ago

You can now easily enable compile-time SQLite extensions by specifying compilation flags. Check out the README for more instructions on how to achieve this.

react-native-quick-sqlite - Adds support for RN 0.70

Published by ospfranco about 2 years ago

Adds support for RN 0.70

react-native-quick-sqlite - Fix AAR finding on older RN versions

Published by ospfranco about 2 years ago

Starting 0.69 RN embeds AAR versions of certain dependencies, which forced changes on the build gradle to handle multiple .aar files. Which in turn caused to break the library for older versions. I modified the build.gradle script to make it work with older RN versions.

react-native-quick-sqlite -

Published by ospfranco about 2 years ago

react-native-quick-sqlite - JavaScript Transactions Support

Published by ospfranco over 2 years ago

Transactions were internally supported via batchExecuteSql method, but now there is a new transaction method. It's more idiomatic and useful if you need to check intermediate results. It's only meant for sync callbacks, an async version will be implemented next.

react-native-quick-sqlite - Column metadata

Published by ospfranco over 2 years ago

Column metadata is now returned when performing select queries. Should help when the data has been coerced to basic types but the SQL field is different.

react-native-quick-sqlite - Async workloads

Published by ospfranco over 2 years ago

After a lot of work, we have finally managed to add async callbacks to the library! 🎉

Thanks a lot to @EduFrazao whose help has been vital to getting this working! Also, to @sergeymild, who's repo showed us how to do async callbacks with the JSI.

Changes

  • Methods now have async equivalents, if you don't want to block your UI while SQLite processes your data
  • SQLite has been bumped to version 3.38.1

Please open an issue if you are facing any sort of bug, this was a major refactoring of the library.

react-native-quick-sqlite - v3.0.0

Published by ospfranco over 2 years ago

Added a couple of new methods:

  • batch execute SQL
  • load and execute a SQL file

Also a big refactoring was done, the methods no longer throw errors at all, everything returns a response object with a status field

react-native-quick-sqlite - Update SQLite and minor fixes

Published by ospfranco over 2 years ago

v2.0.2

  • SQLite has been updated to version 3.38.0
  • Typescript types have been fixed to reflect the correct response
react-native-quick-sqlite - v1.0.5

Published by ospfranco about 3 years ago

New

  • Add support for SQLite BLOB to JS ArrayBuffers
react-native-quick-sqlite - First stable version! 🎉

Published by ospfranco about 3 years ago

Ironed all the quirks and finished all the TODOS, the api is now stable and compatible with react-native-sqlite-storage