Closed ukevgen closed 6 years ago
@ukevgen did you find the answer?
processInTransactionAsync
is removed in 5.0.0-alpha1. beginTransactionAsync
starts a Transaction.Builder
but you need to explicitly execute()
it.
stops.fastInsert()
creates a FastStoreModelTransaction.Builder
class, which does not actually execute the transaction yet. See this doc: https://dbflow.gitbook.io/dbflow/usage2/usage/storingdata#faststoremodeltransaction
still valid for 4.2.4, but in 5.0.0-alpha1 its the only way.
DBFlow Version:
Description: Hi! Could you explain me next situation: I tried to ways to update my tables: ` @Table(database = CityDatabase::class, name = StopData.TABLE_NAME) class StopData : BaseModel() { companion object { const val TABLE_NAME = "Stops" }
and
And in the first variant my datas saved successfully, but second variant didn't save my datas. What I missed? And could you provide fast insert example with relationships ?