shillelagh-processor/src/main/java/shillelagh/internal/TableObject.java
private void emitDeleteWithId(JavaWriter javaWriter) throws IOException {
    logger.d("emitDeleteWithId");
    javaWriter.beginMethod("void", $$DELETE_OBJECT_FUNCTION, EnumSet.of(PUBLIC, STATIC), "Long",
        "id", "SQLiteDatabase", "db")
        .emitStatement("db.delete(\"%s\", \"%s = \" + id, null)", getTableName(),
            idColumn.getColumnName())
        .endMethod();
  }
private void emitDeleteWithId(JavaWriter javaWriter) throws IOException {
    logger.d("emitDeleteWithId");
    javaWriter.beginMethod("void", $$DELETE_OBJECT_FUNCTION, EnumSet.of(PUBLIC, STATIC), "Long",
        "id", "SQLiteDatabase", "db")
        .emitStatement("db.delete(\"%s\", \"%s = \" + id, null)", getTableName(),
            idColumn.getColumnName())
        .endMethod();
  }
private void emitDeleteWithId ( JavaWriter javaWriter ) throws IOException { logger . d ( "emitDeleteWithId" ) ; javaWriter . beginMethod ( "void" , $$ DELETE_OBJECT_FUNCTION , EnumSet . of ( PUBLIC , STATIC ) , "Long" , "id" , "SQLiteDatabase" , "db" ) . emitStatement ( "db.delete(\"%s\", \"%s = \" + id, null)" , getTableName ( ) , idColumn . getColumnName ( ) ) . endMethod ( ) ; }
Creates the function for deleting an object by id
Creates the function for deleting an object by id