Skip to main content
Code Review

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.

Filter by
Sorted by
Tagged with
1 vote
0 answers
30 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 ...
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 ...
5 votes
1 answer
377 views

I think I cooked again, but maybe not. I'll share with you the product of today's cooking: ...
1 vote
0 answers
68 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 ...
3 votes
0 answers
58 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.9k
5 votes
1 answer
240 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.9k
2 votes
0 answers
44 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.9k
2 votes
1 answer
71 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.9k
4 votes
1 answer
125 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.9k
4 votes
2 answers
278 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 ...
2 votes
1 answer
61 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
107 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
138 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 ...
1 vote
1 answer
107 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
161 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

AltStyle によって変換されたページ (->オリジナル) /