python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to convert a POJO to an BSON using MongoDB Java Driver
I've searched for a way to to convert a POJO into a BSON document. Unfortunately, the only answer you can find on the web is that MongoDB does this implicitly through the db.getCollection("some c...
Sebastian Wollner
Votes: 0
Answers: 0
Unmarshalling a bson.D object (Golang)
I'll try to be as clear as possible. I'm building a simple audit logging API, using MongoDB, and Model-Vew-Controller architecture. As part of the functionality, the user can request data using a http...
Adam Loomis
Votes: 0
Answers: 1
How to update element in set in MongoDB?
I have example entry in my database:
{
"_id": {
"$oid": "6241d974a7382732093700d1"
},
"userdata": {
"Name": "SomeName",
&q...
Pan Michal
Votes: 0
Answers: 1
Query nested array from document
Given the following document data in collection called 'blah'...
[
{
"_id" : ObjectId("60913f55987438922d5f0db6"),
"procedureCode" : "code1",
"...
Dib
Votes: 0
Answers: 2