light modification

This commit is contained in:
mr
2025-01-23 08:35:28 +01:00
parent 0e798dac50
commit 99693d8ec0
10 changed files with 21 additions and 33 deletions

View File

@@ -3,7 +3,6 @@ package mongo
import (
"context"
"errors"
"fmt"
"slices"
"time"
@@ -289,7 +288,6 @@ func (m *MongoDB) Search(filters *dbs.Filters, collection_name string) (*mongo.C
}
opts := options.Find()
opts.SetLimit(100)
fmt.Println("Filters: ", CollectionMap, collection_name)
targetDBCollection := CollectionMap[collection_name]
orList := bson.A{}
andList := bson.A{}