Search code examples
Golang: how to check if collection.Find didn't find any documents?...


mongodbgomongo-go

Read More
Mongo-go driver version of session.copy()...


mongodbgomgomongo-go

Read More
is it good practice to omit mongodb transaction rollback in case of error...


mongodbgotransactionsmongo-go

Read More
setOnUpdate in mongo with one query on upsert?...


mongodbgomongodb-querymongo-go

Read More
How to create a Mongo document modelling it after two structs?...


jsonmongodbgostructmongo-go

Read More
How to mock Aggregate with the mongo-go-driver...


mongodbgotestingmockingmongo-go

Read More
Golang and MongoDB - I try to update toggle boolean using golang to mongodb but got object instead...


mongodbgomongo-go

Read More
Is mongodb client driver concurrent safe?...


databasemongodbgogoroutinemongo-go

Read More
MongoDB transactions, the callback API approach...


databasemongodbgotransactionsmongo-go

Read More
How to mock cursor with mongo-go-driver...


mongodbgomongo-go

Read More
How to use the elements of a slice in bson.A using mongo-go-driver 0.2.0...


gomongo-go

Read More
Adding new values to an array from another array of same type MongoDB-GO...


arraysmongodbgomongo-go

Read More
Why is a simple query taking more than 2 seconds with Golang Mongo driver?...


mongodbperformancegomongodb-querymongo-go

Read More
Mongodb Timeseries / Golang - ['timestamp' must be present and contain a valid BSON UTC date...


mongodbgotime-seriesmongo-go

Read More
incorrectly drafted MongoDB aggregation pipeline $match stage...


mongodbgoaggregation-frameworkmongo-go

Read More
Golang Struct for Nested Objects...


mongodbgostructmongo-gogo-fiber

Read More
How to create a text index for nested fields that have the same name...


mongodbgomongo-go

Read More
Reusing context.WithTimeout in deferred function...


mongodbgomongo-gogo-context

Read More
Mock UpdateResult From UpdateOne Using Go Mongo-Driver And mtest...


mongodbgomockingmongo-gomongo-go-driver

Read More
Redefine the bson tag in golang, how to be compatible with the fields in the database with lowercase...


mongodbgomongo-go

Read More
Getting all data from mongodb compound collection with filter in golang...


mongodbgocollectionsmongo-go

Read More
How would I update multiple records based on different key in Mongo in one query?...


mongodbgomongo-go

Read More
Check if value in an object array exist golang...


mongodbgomongo-go

Read More
mgo is setting objectid to objectidhex, which doesnt seem to get read by Mongodb...


mongodbgobsonmgomongo-go

Read More
What is the fastest way to decode a nested MongoDB document array into a struct slice in Go?...


mongodbgomongo-go

Read More
mongodb-go-driver/bson struct to bson.Document encoding...


mongodbgobsonmongo-go

Read More
Issues running Find().All() using go mongo-driver...


mongodbgomongodb-querymongo-gogolang-migrate

Read More
How to Set Limit for options.FindOne() in go mongo-driver...


mongodbgomongodb-querydrivermongo-go

Read More
How to run Find.().One() in the new go-mongo-driver...


mongodbgoerror-handlingmongodb-querymongo-go

Read More
Find entries via substring regex query in mongodb-go-driver...


mongodbgomongo-go

Read More
BackNext