Created
August 20, 2020 18:44
-
-
Save manuelernesto/358d433d8d15f610024c36058b00503d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Dao | |
interface PalestranteDAO { | |
@Insert | |
suspend fun salvar(palestrante: Palestrante) | |
@Query("SELECT * FROM tb_palestrante") | |
suspend fun buscarTodos(): List<Palestrante> | |
@Update | |
suspend fun actualizar(palestrante: Palestrante) | |
@Delete | |
suspend fun apagar(palestrante: Palestrante) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment