What is a result of this Dao
method after inserting some message
s in the database:
@Query("SELECT * FROM messages")
Flowable<List<Message>> getMessages();
1 - ALL message
s stored in the database will be emitted after this change
or
2 - Only the DIFFERENCE beetwen new and old message
s will be emitted after the change?
In which documents is it specified? If first, what should I do to get the difference - something like DiffUtils
or there are other approaches?
P.S. What if I DELETE some messages?