Questions tagged [mongodb]

2 votes
5 replies
Checking my MongoDB and getting an unusual dbs
So today I was in my MongoDB and I type in show dbs. Other than my usual dbs there is an additional hacked_by_unistellar. Anyone might know what...
asked 1 month ago
0 votes
0 replies
Mongo to Big Query Import Issues
When importing from mongo to big-query the following errors occurs. We have a script that prepares the data from a mongo dump on s3 (around 2.8GB...
asked 1 month ago
0 votes
1 replies
How to drop mongodb in docker container from npm script
I'm running a mongodb (v.4.0.9) in a docker container for testing purposes. I want to be able to run a npm script to drop the database to be able...
asked 1 month ago
0 votes
1 replies
Connecting Metabase with Docker SQL or Docker MongoDB container
I am trying to connect my Metabase docker container to my containers database containers. docker ps Metabase container created such as the docs...
asked 1 month ago
0 votes
1 replies
Can we use callbacks in the mongo shell?
I want to insert one document into collection1, but after successfully inserting the document, I want to insert another document into collection2...
asked 1 month ago
0 votes
1 replies
Delete all data in mongoDB at once from React with API axios
I'm new at programming, and need some help. In React I'm trying to delete all items from database mongoDB with axios using map(). When I click bu...
asked 1 month ago
0 votes
1 replies
Cannot access com.mongodb.MongoClientSettings - MongoDB Java driver 3.7+
I'm following the guide using MongoDB Java driver 3.7+ versions with Spring boot starter as dependency. And I get the error: java: cannot access...
asked 1 month ago
0 votes
0 replies
How to share non-persistent storage in Openshift with MongoDB (during pod scaling)
I start single pod with MongoDB with non-persistent storage to be used by my containerized application in same Openshift cluster. How can i scale...
asked 1 month ago
1 votes
1 replies
How to select a single field for documents in a MongoDB collection?
I tried get(selected values) query in mongodb.that query in working fine in mongodb shell .but I tried to run node js it not working it showing a...
0 votes
0 replies
Connecting MongoDB to Metabase with self-signed certificate
I've a Mongo database with the follow URI schema: mongodb://username:password@url1:port,url2:port/database?authSource=admin&ssl=true and I c...
0 votes
0 replies
docker_auth don't access mongoDB over TLS
I use succesfull my own registry. There is the offical docker registry image as base. For authentification I use docker_auth. I store the ACL and...
asked 1 month ago
0 votes
0 replies
How to do MongoDB case-insensitive search for single field only?
So, case is simple. I want to have case-insensitive search on a field name. Luckily, latest Mongo brings us concept of collation & collation...
asked 1 month ago
-1 votes
1 replies
mongoose query Regex with special characters
I want to search values having special characters such as "(" in a document. I 'm using following criteria in mongoose and fetch the names that m...
asked 1 month ago
1 votes
1 replies
Increase speed of $match on $lookup MONGO
I have a query in which i want to get data from 10 million records . Now i am using $lookup in the query to get data from a different collection...
asked 1 month ago
0 votes
1 replies
how to query mongo find / aggregate, based on objects that are not arrays
I will look for data in rekap_rfid, and release all data based on year _2019, and can input custom year, month, and day to be used as a monthly...
asked 1 month ago
0 votes
0 replies
How to filter unknown depth of nested array of objects using linq
I'm filtering documents based on nested array of objects with unknown depth of children using Linq { "name": "Skill test add step 2", "l...
asked 1 month ago
-3 votes
2 replies
Need regex to search string containing '+'
i need to search a string containing + like 'abc+xyz' or 'test+1234', currently I am using 'abc.*' but not able to search 'abc+xyz' -3 2 Ans...
asked 1 month ago
2 votes
0 replies
Mongodb 3.4 version can not Join on string to an ObjectId field [duplicate]
I have two collections User { "_id" : ObjectId("584aac38686860d502929b8b"), "name" : "John" }...
asked 1 month ago
0 votes
1 replies
MongoDB schema design for Many-to-Many Relationship
I'm facing a problem to the Many-to-Many relationship in NoSQL schema. I found several guides and there are two ways to handle it - store the...
asked 1 month ago
0 votes
1 replies
Java Servlets: Tomcat server find MongoDB classes and packages
I'm trying to connect a MongoDB database to Tomcat. I downloaded the three 3.10.1 Java Driver jar files, mongodb-driver-3.10.1-javadoc.jar, mongo...
asked 1 month ago
0 votes
0 replies
Cannot edit mongo.conf file to disable http
I'm trying to edit mongo.conf file to disable http but I'm getting below error when restarting mongo and checking the status mongod.service - Mo...
asked 1 month ago
0 votes
0 replies
MongoDB with Java: Add field to doc within array within doc
What I meant to describe in my title is something akin to below: { name: a , docs : [ { name: a } , { name : b } ] }, { name: b , docs : [ { n...
asked 1 month ago
0 votes
0 replies
Storing temporary information in a MongoDB
I am very much acclimatised to relational databases, so i'm not sure at all how to go about this. I have a collection called chats, in each 'cha...
asked 1 month ago
0 votes
1 replies
Unable to insert or retrieved data to MongoDB
I try to insert and pull some data from MongoDB. The connection was setup correctly follow there instruction on mongodb.com try: client = Mo...
asked 1 month ago
0 votes
0 replies
Unable to determine the serialization information for “Expression”
I receive the error message Unable to determine the serialization information for a => a.CurrentProcessingStep when I try to Update my documen...
asked 1 month ago