[GODRIVER-883] cannot transform type bson.D to a BSON Document Created: 18/Mar/19  Updated: 27/Oct/23  Resolved: 18/Mar/19

Status: Closed
Project: Go Driver
Component/s: BSON, Connections
Affects Version/s: 1.0.1
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: JerryZhang Assignee: Unassigned
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

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



 Comments   
Comment by JerryZhang [ 18/Mar/19 ]

I have fixed. How to close this issue.

Generated at Thu Feb 08 08:35:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.