code: @WorkerThread
    public int delete(@NonNull String table, @Nullable String whereClause,
        @Nullable String... whereArgs) {
      SupportSQLiteDatabase db = getWritableDatabase();
  
      if (logging) {
        log("DELETE\n  table: %s\n  whereClause: %s\n  whereArgs: %s", table, whereClause,
            Arrays.toString(whereArgs));
      }
      int rows = db.delete(table, whereClause, whereArgs);
  
      if (logging) log("DELETE affected %s %s", rows, rows != 1 ? "rows" : "row");
  
      if (rows > 0) {
        // Only send a table trigger if rows were affected.
        sendTableTrigger(Collections.singleton(table));
      }
      return rows;
    }
docs: Delete rows from the specified {@code table} and notify any subscribed queries. This method
  will not trigger a notification if no rows were deleted.
  
  @see SupportSQLiteDatabase#delete(String, String, Object[])