Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate back from requery to framework sqlite #1141

Closed
mtotschnig opened this issue Feb 18, 2023 · 0 comments
Closed

Migrate back from requery to framework sqlite #1141

mtotschnig opened this issue Feb 18, 2023 · 0 comments

Comments

@mtotschnig
Copy link
Owner

Using requery since version 3.4.6, my conclusion is that the drawbacks outweigh the benefits.
The benefit is to be able to use newer sqlite features on all API levels:

  • JSON support (not available on any Android version yet). We use this at the moment for returning the list of tags together with the main transaction list query.
  • Windowing functions (available only from Android 11). These are not used at the moment, but are planned to be used in implementation of Running balances #239

The drawbacks:

Since we changed the way we instantiate the database, we also see reports about race conditions during startup (unfortunately not reproducible on our side) that might not occur with FrameworkSQLiteOpenHelperFactory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant