This commit is contained in:
mr 2024-11-28 12:35:56 +01:00
parent 11a3767255
commit e560f34215

View File

@ -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{}