We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79f114d commit 05728faCopy full SHA for 05728fa
Sources/SHFirestoreService/FirestoreQueryable.swift
@@ -32,5 +32,11 @@ public protocol FirestoreQueryable {
32
where D: Decodable,
33
E: FirestoreEndopintable,
34
D == E.ResponseDTO
35
+
36
+ /// Check if a document is duplicated or not from the endpoint requestType is a collectionRef using firestore's query.
37
+ func isFieldDuplicated(
38
+ endpoint: any FirestoreEndopintable,
39
+ from query: FirestoreQueryHandler
40
+ ) -> AnyPublisher<Bool, FirestoreServiceError>
41
}
42
#endif
0 commit comments