Skip to content

3.0.0-beta5

Pre-release
Pre-release
Compare
Choose a tag to compare
@agrosner agrosner released this 07 Mar 21:29
· 1420 commits to master since this release
  1. Fixes a critical issue where some queries (those that end off at Where) count()/hasData() when run with empty table throws a SQLiteDoneException on the query. now suppresses exception and logs it.
  2. can now pass in DatabaseWrapper into any saving methods of a ModelAdapter in order to better work in migrations! So that we do not recursively call the SQLiteDatabaseObject. So now all CRUD operations are supported in DBFlow migrations:
ModelAdapter modelAdapter = FlowManager.getModelAdapter(SomeTable.class);

modelAdapter.save(wrapper, someModel);


modelAdapter.insert(wrapper, someModel);