From e560f3421546856b92d5f63e6f55a3f49a9f506b Mon Sep 17 00:00:00 2001 From: mr Date: Thu, 28 Nov 2024 12:35:56 +0100 Subject: [PATCH] some --- dbs/mongo/mongo.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dbs/mongo/mongo.go b/dbs/mongo/mongo.go index 4f21a51..fc82c88 100644 --- a/dbs/mongo/mongo.go +++ b/dbs/mongo/mongo.go @@ -3,6 +3,7 @@ package mongo import ( "context" "errors" + "fmt" "slices" "time" @@ -288,6 +289,7 @@ func (m *MongoDB) Search(filters *dbs.Filters, collection_name string) (*mongo.C } opts := options.Find() opts.SetLimit(100) + fmt.Println("Filters: ", CollectionMap) targetDBCollection := CollectionMap[collection_name] orList := bson.A{} andList := bson.A{}