You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: @get:OneToMany(oneToManyMethods = [OneToManyMethod.LOAD])
val schemeDataModels: List? by oneToMany {
select from SchemeDataModel::class where SchemeDataModel_Table.schemeModel_id.eq(id)
}
error: class com.dbflow5.processor.definition.OneToManyDefinition : @onetomany definition getSchemeDataModels Cannot find setter setSchemeDataModels for variable schemeDataModels.
` @table(database = AppDatabase::class)
data class SchemeModel( @PrimaryKey(autoincrement = true)
var id: Long = 0, @column
var schemeName: String = "",
) : BaseModel() {
@get:OneToMany(oneToManyMethods = [OneToManyMethod.LOAD])
val schemeDataModels: List<SchemeDataModel>? by oneToMany {
select from SchemeDataModel::class where SchemeDataModel_Table.schemeModel_id.eq(id)
}
}
`
@Table(database = AppDatabase::class) data class SchemeDataModel( @PrimaryKey(autoincrement = true) var id: Long = 0, @ForeignKey(stubbedRelationship = true) var schemeModel: SchemeModel? = null, @Column var mimeType: String = "", @Column var data1: String = "", @Column var data2: String = "" ) : BaseModel()
The text was updated successfully, but these errors were encountered:
ISSUE_TEMPLATE
DBFlow Version: 5.0.0-alpha2
Bug or Feature Request: Bug
Description:
@get:OneToMany(oneToManyMethods = [OneToManyMethod.LOAD])
val schemeDataModels: List? by oneToMany {
select from SchemeDataModel::class where SchemeDataModel_Table.schemeModel_id.eq(id)
}
error: class com.dbflow5.processor.definition.OneToManyDefinition : @onetomany definition getSchemeDataModels Cannot find setter setSchemeDataModels for variable schemeDataModels.
`
@table(database = AppDatabase::class)
data class SchemeModel(
@PrimaryKey(autoincrement = true)
var id: Long = 0,
@column
var schemeName: String = "",
}
`
@Table(database = AppDatabase::class) data class SchemeDataModel( @PrimaryKey(autoincrement = true) var id: Long = 0, @ForeignKey(stubbedRelationship = true) var schemeModel: SchemeModel? = null, @Column var mimeType: String = "", @Column var data1: String = "", @Column var data2: String = "" ) : BaseModel()
The text was updated successfully, but these errors were encountered: