healchow commented on code in PR #6489:
URL: https://github.com/apache/inlong/pull/6489#discussion_r1017796484


##########
inlong-manager/manager-dao/src/main/java/org/apache/inlong/manager/dao/mapper/StreamSourceFieldEntityMapper.java:
##########
@@ -59,6 +59,13 @@ public interface StreamSourceFieldEntityMapper {
      */
     int deleteAll(@Param("sourceId") Integer sourceId);
 
+    /**
+     * Physically delete all stream source fields based on inlong group ids
+     *
+     * @return rows deleted
+     */
+    int deleteByGroupIdAndStreamId(@Param("groupId") String groupId, 
@Param("streamId") String streamId);

Review Comment:
   `deleteByGroupIdAndStreamId` -> `deleteByRelatedId`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@inlong.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to