In the readme, there is
object Citizens : TableDefinition() {
val id = varchar("id", 10).primaryKey()
val name = varchar("name", length = 50)
val cityId = reference(Cities.id, "city_id").nullable()
}
...
val row = query(Citizens)
...
This won't compile - query takes an argument of type QueryObject and TableDefinition doesn't inherit from that.
In the readme, there is
This won't compile -
querytakes an argument of typeQueryObjectandTableDefinitiondoesn't inherit from that.