This commit is contained in:
mr 2024-08-01 09:55:59 +02:00
parent 745e175da4
commit 1f8aefb7d8

View File

@ -286,6 +286,7 @@ func (m *MongoDB) Search(filters dbs.Filters, collection_name string) (*mongo.Cu
if len(orList) > 0 { if len(orList) > 0 {
f = append(f, bson.E{Key: "$or", Value: orList}) f = append(f, bson.E{Key: "$or", Value: orList})
} }
fmt.Println("FILTER", f)
if cursor, err := targetDBCollection.Find( if cursor, err := targetDBCollection.Find(
MngoCtx, MngoCtx,
f, f,