move Change Note

@Modifying(clearAutomatically = true )
@Query(value = ""UPDATE " + NOTES_KEY + " SET " + UPDATE_ESCAPED_KEY + "=:" + DESTINATION_UPDATE_IDENTIFIER_KEY + _WHERE_ + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY", nativeQuery = true )
abstract fun moveChangeNote(@Param(value = "id") noteId: String, @Param(value = "destination_update_id") destinationUpdateId: String)

Query used to move a change note from an update to other

Since

1.2.0

Parameters

noteId

The identifier of the note

destinationUpdateId

The identifier of the update to move the change note