exec access

This commit is contained in:
mr 2024-08-05 08:15:43 +02:00
parent 0b5df45a02
commit 1f09e48abf

View File

@ -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,