-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: 0.2.0
-
Component/s: Documentation
-
None
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
- is duplicated by
-
GODRIVER-760 collection.Find(ctx, nil) the query cant not nil
- Closed
-
GODRIVER-776 Passing "nil" as a filter
- Closed