Categories
How to insert an empty list in MongoDB using Go?
How to insert an empty list like this:
{ "cars": [ ] }
Answer the question
In order to leave comments, you need to log in
bson.D{{"cars", bson.A{}}}
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question