コード例 #1
0
 private int deleteCategory(Category category) {
   return delete(
       "delete",
       CategoriesProvider.uriCategories(),
       Tables.Categories.ID + "=?",
       category.getId());
 }
コード例 #2
0
 private Category insertCategory() {
   final Category category = new Category();
   category.setTitle("a");
   insert(CategoriesProvider.uriCategories(), category);
   return category;
 }