From 6a33ad696f92ec268bb2c7d50f4b8006b18e53be Mon Sep 17 00:00:00 2001 From: pankajjangid05 Date: Mon, 6 Mar 2023 11:17:20 +0530 Subject: [PATCH] Doubtnut - Added new function find all users by userid --- src/main/java/com/uci/dao/repository/XMessageRepository.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/uci/dao/repository/XMessageRepository.java b/src/main/java/com/uci/dao/repository/XMessageRepository.java index 7584262..65d0866 100644 --- a/src/main/java/com/uci/dao/repository/XMessageRepository.java +++ b/src/main/java/com/uci/dao/repository/XMessageRepository.java @@ -52,6 +52,9 @@ public interface XMessageRepository extends ReactiveCassandraRepository findAllByMessageIdAndUserIdInAndFromIdIn(String messageId, List listUserId, List listFromId); + + @AllowFiltering + Flux findAllByUserId(String userID); }