interface QuoteDao
Dao that manages Symbols in the database.
Author
Jan Müller
deleteQuotes |
Deletes all Quotes from the database. abstract fun deleteQuotes(): Unit |
getQuoteValueById |
Returns the Quote with the matching id. abstract fun getQuoteValueById(id: String): Quote? |
getQuoteWithId |
Returns the Quote with the matching id, wrapped in LiveData. abstract fun getQuoteWithId(id: String): LiveData<Quote> |
insert |
Inserts a Quote into the database. abstract fun insert(quote: Quote): Unit |