How it works...

The mongo-go-driver package also provides connection pooling, and many ways to tweak and configure your connections to the mongodb database. This recipe's examples are fairly basic, but they illustrate how easy it is to reason about and query a document-based database. The package implements a BSON data type, and marshaling to and from it is very similar to working with JSON.

Consistency guarantees and best practices for mongodb are outside the scope of this book. However, it's a pleasure to work with these in the Go language.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.165.180