diff --git a/CollectionManager.kt b/CollectionManager.kt index 882a621..a8f06b5 100644 --- a/CollectionManager.kt +++ b/CollectionManager.kt @@ -81,6 +81,16 @@ object CollectionManager { return count } + @Throws(Exception::class) + fun fullName( + collectionName: String, + scopeName: String, + databaseName: String + ): String { + val col = this.getCollection(collectionName, scopeName, databaseName) + return col?.fullName ?: throw Exception("Collection not found: $collectionName in scope: $scopeName") + } + @Throws(Exception::class) fun getBlobContent(key: String, documentId: String,