code: public void deleteById(Object id) {
  
          int count = beginDelete().whereEquals(idColumn.getColumnName(), id).delete();
  
          if (count == 0) {
              throw new RowNotFoundException(table, id);
          }
      }
docs: Deletes an entity by its primary key.
  
  @param id
  Primary key of the entity.