From 66c5f24a72f7db2d0cb016ff9cf45c62f39493f2 Mon Sep 17 00:00:00 2001 From: jayant dhingra Date: Tue, 28 Oct 2025 22:22:51 +0530 Subject: [PATCH] Add full name property to Collection --- CollectionManager.kt | 10 ++++++++++ 1 file changed, 10 insertions(+) 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,