Details
-
Bug
-
Resolution: Fixed
-
Minor - P4
-
0.2.0
-
None
Description
README and doc suggested using nil as the filter doc
cur, err := collection.Find(ctx, nil)
|
However as far as I can tell this will lead to a nil error according to https://github.com/mongodb/mongo-go-driver/blob/80e6fbdb941cebf741d02e5e848585d2d06ee8d2/mongo/collection_internal_test.go#L375-L376
Attachments
Issue Links
- is duplicated by
-
GODRIVER-760 collection.Find(ctx, nil) the query cant not nil
-
- Closed
-
-
GODRIVER-776 Passing "nil" as a filter
-
- Closed
-