Created
February 4, 2019 17:12
-
-
Save parzibyte/a54e5ab55446256be0016a07bd1f6773 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
public int eliminarMascota(Mascota mascota) { | |
SQLiteDatabase baseDeDatos = ayudanteBaseDeDatos.getWritableDatabase(); | |
String[] argumentos = {String.valueOf(mascota.getId())}; | |
return baseDeDatos.delete(NOMBRE_TABLA, "id = ?", argumentos); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment