From d8f3d581cce9ad411c6e03586354d2c5f595a14f Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Wed, 11 Mar 2026 16:23:13 +0530 Subject: [PATCH 1/4] added log vectordb colleciton creation --- .../Modules/Databases/Http/VectorsDB/Collections/Create.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Appwrite/Platform/Modules/Databases/Http/VectorsDB/Collections/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/VectorsDB/Collections/Create.php index b85a8b30b4..a93b999c39 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/VectorsDB/Collections/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/VectorsDB/Collections/Create.php @@ -116,6 +116,7 @@ class Create extends CollectionAction } /** @var Database $dbForDatabases */ $dbForDatabases = $getDatabasesDB($database); + var_dump($database->getArrayCopy()); $attributes = []; $indexes = []; From a14d51321a7ad504b81059731900e0f8895f398c Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Wed, 11 Mar 2026 16:52:11 +0530 Subject: [PATCH 2/4] refactor: remove debug output and enhance collection creation test with eventual assertion --- .../Modules/Databases/Http/VectorsDB/Collections/Create.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Appwrite/Platform/Modules/Databases/Http/VectorsDB/Collections/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/VectorsDB/Collections/Create.php index a93b999c39..b85a8b30b4 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/VectorsDB/Collections/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/VectorsDB/Collections/Create.php @@ -116,7 +116,6 @@ class Create extends CollectionAction } /** @var Database $dbForDatabases */ $dbForDatabases = $getDatabasesDB($database); - var_dump($database->getArrayCopy()); $attributes = []; $indexes = []; From 28ba11c71e14c8907b357bedef34ce2417ebf610 Mon Sep 17 00:00:00 2001 From: Prem Palanisamy Date: Sun, 22 Mar 2026 22:25:00 +0000 Subject: [PATCH 3/4] register vectorsdb listDocumentLogs endpoint --- .../Platform/Modules/Databases/Services/Registry/VectorsDB.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Appwrite/Platform/Modules/Databases/Services/Registry/VectorsDB.php b/src/Appwrite/Platform/Modules/Databases/Services/Registry/VectorsDB.php index 9496b1781a..6bf85a220e 100644 --- a/src/Appwrite/Platform/Modules/Databases/Services/Registry/VectorsDB.php +++ b/src/Appwrite/Platform/Modules/Databases/Services/Registry/VectorsDB.php @@ -12,6 +12,7 @@ use Appwrite\Platform\Modules\Databases\Http\VectorsDB\Collections\Documents\Del use Appwrite\Platform\Modules\Databases\Http\VectorsDB\Collections\Documents\Get as GetDocument; use Appwrite\Platform\Modules\Databases\Http\VectorsDB\Collections\Documents\Update as UpdateDocument; use Appwrite\Platform\Modules\Databases\Http\VectorsDB\Collections\Documents\Upsert as UpsertDocument; +use Appwrite\Platform\Modules\Databases\Http\VectorsDB\Collections\Documents\Logs\XList as ListDocumentLogs; use Appwrite\Platform\Modules\Databases\Http\VectorsDB\Collections\Documents\XList as ListDocuments; use Appwrite\Platform\Modules\Databases\Http\VectorsDB\Collections\Get as GetCollection; use Appwrite\Platform\Modules\Databases\Http\VectorsDB\Collections\Indexes\Create as CreateIndex; @@ -91,6 +92,7 @@ class VectorsDB extends Base $service->addAction(UpdateDocuments::getName(), new UpdateDocuments()); $service->addAction(UpsertDocuments::getName(), new UpsertDocuments()); $service->addAction(DeleteDocuments::getName(), new DeleteDocuments()); + $service->addAction(ListDocumentLogs::getName(), new ListDocumentLogs()); } private function registerTransactionActions(Service $service): void From a9acba916a83b0b059a0cc010b3a170d617d9d80 Mon Sep 17 00:00:00 2001 From: Prem Palanisamy Date: Mon, 23 Mar 2026 06:40:48 +0000 Subject: [PATCH 4/4] fix: format VectorsDB registry import order --- .../Platform/Modules/Databases/Services/Registry/VectorsDB.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Platform/Modules/Databases/Services/Registry/VectorsDB.php b/src/Appwrite/Platform/Modules/Databases/Services/Registry/VectorsDB.php index 6bf85a220e..5d12b14b1a 100644 --- a/src/Appwrite/Platform/Modules/Databases/Services/Registry/VectorsDB.php +++ b/src/Appwrite/Platform/Modules/Databases/Services/Registry/VectorsDB.php @@ -10,9 +10,9 @@ use Appwrite\Platform\Modules\Databases\Http\VectorsDB\Collections\Documents\Bul use Appwrite\Platform\Modules\Databases\Http\VectorsDB\Collections\Documents\Create as CreateDocument; use Appwrite\Platform\Modules\Databases\Http\VectorsDB\Collections\Documents\Delete as DeleteDocument; use Appwrite\Platform\Modules\Databases\Http\VectorsDB\Collections\Documents\Get as GetDocument; +use Appwrite\Platform\Modules\Databases\Http\VectorsDB\Collections\Documents\Logs\XList as ListDocumentLogs; use Appwrite\Platform\Modules\Databases\Http\VectorsDB\Collections\Documents\Update as UpdateDocument; use Appwrite\Platform\Modules\Databases\Http\VectorsDB\Collections\Documents\Upsert as UpsertDocument; -use Appwrite\Platform\Modules\Databases\Http\VectorsDB\Collections\Documents\Logs\XList as ListDocumentLogs; use Appwrite\Platform\Modules\Databases\Http\VectorsDB\Collections\Documents\XList as ListDocuments; use Appwrite\Platform\Modules\Databases\Http\VectorsDB\Collections\Get as GetCollection; use Appwrite\Platform\Modules\Databases\Http\VectorsDB\Collections\Indexes\Create as CreateIndex;