Skip to main content

Questions tagged [mongodb]

MongoDB is a scalable, high-performance, open source, document-oriented database. It supports a large number of languages and application development platforms.

1 vote
0 answers
29 views

I was facing an issue with changing models on the fly — since we don’t just need isolation based on string or ID, but also data-level differences for each HIMS instance. To handle this, I created a ...
Owais Qureshi's user avatar
0 votes
0 answers
8 views

Title: Code Review Request: Mongoose Soft Delete Plugin with Query & Aggregate Middleware Body: I’ve implemented a soft delete plugin for Mongoose to handle REST API data safely in a MENN stack ...
Owais Qureshi's user avatar
5 votes
1 answer
374 views

I think I cooked again, but maybe not. I'll share with you the product of today's cooking: ...
Luca Bonaldo's user avatar
1 vote
0 answers
65 views

Using the server architecture to provide a REST interface. So I can send/recieve JSON that is put/retrieved from a mongo server. The Fir class MongoRest is similar ...
Loki Astari's user avatar
  • 97.7k
3 votes
0 answers
53 views

This update is based on a previous review where I tried creating a WriteConfig and a WriteConfigBuilder. I have updated this so ...
Loki Astari's user avatar
  • 97.7k
5 votes
1 answer
234 views

The mongo API uses documents (encoded in BSON) as the way to perform queryies (for find / remove etc). For example a query to find all record where the name field ...
Loki Astari's user avatar
  • 97.7k
2 votes
0 answers
41 views

Refactored part of the original code: c++ Mongo Interface Implementation of ScramSha-256 for Mongo server to be used with the Authenticate class. Example of Usage: ...
Loki Astari's user avatar
  • 97.7k
2 votes
1 answer
68 views

Refactored part of the original code: c++ Mongo Interface This review is looking only at the "Op_MSG()" functions. These functions are used to read/write standard C++ objects to Mongo. The C+...
Loki Astari's user avatar
  • 97.7k
4 votes
1 answer
120 views

This questions needs some set up. I have some code that serializes C++ objects into JSON/YAML/BSON. Code here review here. Simply you can serialize and de-serialize C++ objects to a ...
Loki Astari's user avatar
  • 97.7k
4 votes
2 answers
271 views

What are the best practices for connecting to a database in FastAPI? To provide some context, I want to write code to connect to a MongoDB database using Motor. My idea is to create a single ...
Heber Alturria's user avatar
2 votes
1 answer
59 views

i'm trying to learn backend with Next JS, and i'm using Prisma + MongoDB. I want to create a simple website with a user with a cart and some products. here my schema : ...
Jonathan's user avatar
0 votes
1 answer
104 views

I have used this approach in my Golang MongoDB REST APIs' DAO layer, I need to clarify whether this is a good way or not, code is as follows, ...
Nisal Edu's user avatar
  • 103
1 vote
1 answer
134 views

I am writing a resolver for a typical updateUser mutation with node, Apollo Server and mongoDB. I want to make it such that, when the ...
user8758206's user avatar
1 vote
1 answer
106 views

I have a method that on click produces an excel file with information in it. I have been asked to pull images from the data base and add them within the excel file as well. This is how I am pulling ...
Adil15's user avatar
  • 163
2 votes
2 answers
159 views

I'm using fiber and mongodb. Field "field" is needed to obtain certain data to unload the load on the database. If field "field" is empty, then needs to output all the data from ...
Boro8ey's user avatar
  • 23

15 30 50 per page
1
2 3 4 5
13