Привет. Вопрос по room. В обновлении 2.2.0 вышло обновление с:
Target Entity: The DAO annnotations
@Insert,
@Update and
@Delete now has a new property targetEntity, that allows specifying the target table the DAO method is meant to act on. This allows for the parameters of those DAO methods to be arbitrary POJOs which will be interpreted as partial entities. In practice, this allows partial inserts, deletes and updates. b/127549506
это кто-то использовал? Обновление одного поля сущности в базе с передачей POJO объекта?