Closed VeiNPrk closed 3 years ago
Did you solve it?
the same problem :/
Did you solve it?impendency
@agrosner Please Help us in this Question. What I passed in Save() method?
the same problem too!
Hi everyone !
You have to pass your database which now delegates to the DatabaseWrapper
myModel.save(FlowManager.getDatabase(MyDatabase.class));
Its the database wrapper that provides abstracted functionality that a normal SQLiteDatabase
object would provide. So we can swap implementation for other kinds like SQLCipher. You need to be explicit in passing the db in methods from now on as the previous implementation had a few drawbacks:
DatabaseWrapper
parameter..save()
synchronouslynew usage docs for 5.0.0-alpha2 https://dbflow.gitbook.io/dbflow/v/develop/usage2/usage/databases hopefully are more clear
ISSUE_TEMPLATE
DBFlow Version: 5.0.0-alpha1
Bug or Feature Request: save(DatabaseWrapper) in BaseModel cannot be applied Description: Why in the latest version I can not just save the object extended from BaseModel? In the documentation about this does not say anything.