From 1f09e48abfdfb73e7cba94b74c1e0b6558178232 Mon Sep 17 00:00:00 2001 From: mr Date: Mon, 5 Aug 2024 08:15:43 +0200 Subject: [PATCH] exec access --- dbs/mongo/mongo.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dbs/mongo/mongo.go b/dbs/mongo/mongo.go index afe42e4..883fec8 100644 --- a/dbs/mongo/mongo.go +++ b/dbs/mongo/mongo.go @@ -3,6 +3,7 @@ package mongo import ( "context" "errors" + "fmt" "time" "cloud.o-forge.io/core/oc-lib/dbs" @@ -289,6 +290,7 @@ func (m *MongoDB) Search(filters *dbs.Filters, collection_name string) (*mongo.C MngoCtx, cancel = context.WithTimeout(context.Background(), 10*time.Second) defer cancel() + fmt.Printf("Filter: %v\n", f) if cursor, err := targetDBCollection.Find( MngoCtx, f,