Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-883

cannot transform type bson.D to a BSON Document

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.0.1
    • Component/s: BSON, Connections
    • Labels:
      None

      CountDocuments(context.Background(), bsonx.Doc{})

      will report error:

      cannot transform type bson.D to a BSON Document: WriteArray can only write a Array while positioned on a Element or Value but is positioned on a TopLevel

            Assignee:
            Unassigned Unassigned
            Reporter:
            jerryzhang JerryZhang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: