3.0.0-beta5
Pre-release
Pre-release
- Fixes a critical issue where some queries (those that end off at
Where
)count()
/hasData()
when run with empty table throws aSQLiteDoneException
on the query. now suppresses exception and logs it. - can now pass in
DatabaseWrapper
into any saving methods of aModelAdapter
in order to better work in migrations! So that we do not recursively call theSQLiteDatabaseObject
. So now all CRUD operations are supported in DBFlow migrations:
ModelAdapter modelAdapter = FlowManager.getModelAdapter(SomeTable.class);
modelAdapter.save(wrapper, someModel);
modelAdapter.insert(wrapper, someModel);