README out of date WRT using nil in Find

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 0.3.0
    • Affects Version/s: 0.2.0
    • Component/s: Documentation
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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

            Assignee:
            Divjot Arora (Inactive)
            Reporter:
            Chunming Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: