image_url stringlengths 113 131 ⌀ | tags list | discussion list | title stringlengths 8 254 | created_at stringlengths 24 24 | fancy_title stringlengths 8 396 | views int64 73 422k |
|---|---|---|---|---|---|---|
[
"node-js",
"mongoose-odm"
] | [
{
"code": "const express = require(\"express\");\nconst bodyParser = require(\"body-parser\");\nconst crypto = require(\"crypto\");\nconst nodemailer = require(\"nodemailer\");\n\nconst app = express();\nconst port = 8000;\nconst cors = require(\"cors\");\napp.use(cors());\n\napp.use(bodyParser.urlencoded({ ext... | Error registering user MongooseError: Operation `users.findOne()` buffering timed out after 10000ms at Timeout | 2023-08-20T08:08:18.026Z | Error registering user MongooseError: Operation `users.findOne()` buffering timed out after 10000ms at Timeout | 1,129 | |
null | [
"python"
] | [
{
"code": "my_cursor = my_collection.find_one()\nprint (json.dumps(my_cursor))\nTypeError: Object of type datetime is not JSON serializable\nl_cursor = json.loads(bson.json_util.dumps(my_cursor))\nprint (json.dumps(l_cursor, indent=2))\n\"date\": { \"$date\": \"2019-01-20T05:00:00Z\"}\n\"key\": \"value\"\"key\"... | Reading "normal" JSON with pymongo from a collection | 2023-11-10T10:46:43.535Z | Reading “normal” JSON with pymongo from a collection | 104 |
null | [
"ops-manager"
] | [
{
"code": "",
"text": "Hello,I just installed ops manager 6 and deployed a new mongodb instance running in a Rocky Linux 9 distro. But my deployment never finishes. The error log show the following issue:Error loading desired cluster configs : [01:16:29.245] Error retrieving cluster config from ‘http://:808... | MongoDB Tools and Rocky Linux | 2023-11-09T04:37:58.121Z | MongoDB Tools and Rocky Linux | 114 |
null | [
"dot-net"
] | [
{
"code": "BsonSerializer.RegisterSerializer(new GuidSerializer(GuidRepresentation.Standard));return await (await _collection.FindAsync(x => x.id == id)).FirstOrDefaultAsync();BsonDefaults.GuidRepresentation = GuidRepresentation.Standard;",
"text": "Supposedly this topic was beaten to death but no.\nHave th... | C#, GUID and MongoDB | 2023-07-29T22:03:33.987Z | C#, GUID and MongoDB | 504 |
null | [] | [
{
"code": "",
"text": "Hello,We are trying to setup mongodb atlas monitoring integration provided through new relic and want to understand the volume of metrics being collected and feed to new relic. This will help us understand the potential cost from new relic as they charge based on the amount of data be... | New relic integration for mongodb atlas metrics volume estimate | 2023-11-03T13:50:03.215Z | New relic integration for mongodb atlas metrics volume estimate | 164 |
null | [
"node-js"
] | [
{
"code": "",
"text": "I want to use Mongo Atlas as my DB on my application, but I am facing an issue:I am using a Cloudflare Proxy. So anytime there is a new request to my website, the IP changes. So, how can I secure the access to my DB without having a unique IP address to access from?I’ve tried to add t... | How to secure access to Mongo DB Atlas | 2023-11-10T08:00:53.888Z | How to secure access to Mongo DB Atlas | 75 |
null | [] | [
{
"code": "",
"text": "Hello,Has anyone been successful is sending a message to AWS SQS using the JavaScript SDK v3? This is inside of an Atlas function.It simply will not work for me with a fifo queue.The same function has no issues interacting with S3.The error when trying to send an SQS message is that d... | AWS SDK v3 SQS SendMessage | 2023-07-29T02:53:11.891Z | AWS SDK v3 SQS SendMessage | 786 |
null | [
"aggregation",
"compass"
] | [
{
"code": "db.getCollection('dlsComponents').aggregate([\n { $match: { library: 'Library1', collection: 'Collection1', media: 'Images', object: 'Image3' } }\n ])\n{ _id: ObjectId(\"61fc458b46d7874a3a97ef79\"),\n library: 'Library1',\n collection: 'Collection1',\n media: 'Images',\n object: 'Image3',\n inf... | Aggregate $match _id $eq $toObjectId not working | 2022-02-06T16:10:18.497Z | Aggregate $match _id $eq $toObjectId not working | 24,789 |
null | [
"atlas-device-sync",
"android",
"kotlin"
] | [
{
"code": "override fun configureTheRealm() {\n if (user != null) {\n val config = SyncConfiguration.Builder(user, setOf(EmailAccount::class, ApplicationAccount::class))\n .initialSubscriptions { sub ->\n add(\n query = sub.query<EmailAc... | Realm Error No Subscription for WRITE: When doing multiple subscriptions of different type | 2023-11-07T14:26:49.413Z | Realm Error No Subscription for WRITE: When doing multiple subscriptions of different type | 133 |
null | [
"aggregation",
"compass"
] | [
{
"code": "",
"text": "Last week, we announced a new, intelligent query generation experience in MongoDB Compass. With the help of AI, you can generate queries and aggregations from natural language. This feature is now available in public preview.Please be sure to download the latest version of Compass to ... | Announcement: Intelligent Query Generation in MongoDB Compass | 2023-10-05T13:05:08.468Z | Announcement: Intelligent Query Generation in MongoDB Compass | 326 |
null | [
"dot-net"
] | [
{
"code": "",
"text": "We are currently in a c# environment and wondering if we can implement the uuidv7 format in mongodb and also get the benefit from it so not just have the same behavior as uuidv4.There seem to be some way to do this:What would be the best way to implement this? If it’s actually possibl... | Is it possible to correctly use the UUIDv7 format in mongodb and all his benefit today? (c# environment) | 2023-11-01T20:52:17.357Z | Is it possible to correctly use the UUIDv7 format in mongodb and all his benefit today? (c# environment) | 180 |
null | [
"containers"
] | [
{
"code": "",
"text": "Hello,After configuring mongodb as StatefulSets with tls mode = requireTLS I get this NETWORK error:\n“c”:“NETWORK”, “id”:22588, “ctx”:“conn527”,“msg”:“Error receiving request from client. Ending connection from remote”,“attr”:{“error”:{“code”:141,“codeName”:“SSLHandshakeFailed”,“e... | TLS NETWORK error in mongo stateful sets | 2023-10-23T17:08:23.922Z | TLS NETWORK error in mongo stateful sets | 382 |
null | [] | [
{
"code": "{\n \"$or\": [\n {\n \"operationType\": \"insert\"\n },\n {\n \"operationType\": \"update\",\n \"updateDescription.updatedFields\": {\n \"$not\": {\n \"$eq\": [\n {\n ... | Trigger Match Expression for updatedAt | 2023-11-09T17:56:24.238Z | Trigger Match Expression for updatedAt | 110 |
null | [] | [
{
"code": "",
"text": "I would like to make sure that db.CollectionX.fieldY is constrained to values in db.CollectionY. Essentially this is a schema enum, but the enum has to be drawn from another collection, not typed directly in the schema. (This would violate DRY in our application, since we also need th... | Can I validate fields in one collection against values in another? | 2023-11-10T05:41:58.092Z | Can I validate fields in one collection against values in another? | 73 |
[
"compass",
"mongodb-shell",
"containers"
] | [
{
"code": "version: '3'\nservices:\n mongo1:\n hostname: mongo1\n image: mongo\n env_file: .env\n expose:\n - 27017\n environment:\n - MONGO_INITDB_DATABASE=${MONGO_INITDB_DATABASE}\n - MONGO_INITDB_ROOT_USERNAME=${MONGO_INITDB_ROOT_USERNAME}\n - MONGO_INITDB_ROOT_PASSWORD=${... | Docker replica not copy to secondary | 2023-10-26T09:47:04.591Z | Docker replica not copy to secondary | 255 | |
[
"boston-mug"
] | [
{
"code": "Senior Product Manager, Developer EducationAssociate Developer Advocate, MongoDBDirector of Developer Advocacy",
"text": "Screenshot 2023-10-25 1312531216×664 76.5 KB To RSVP - Please click on the “ ✓ RSVP ” link at the top of this event page if you plan to attend. The link should change to a gre... | Boston MongoDB User Group Kickoff | 2023-10-03T17:18:27.094Z | Boston MongoDB User Group Kickoff | 1,391 | |
null | [] | [
{
"code": "",
"text": "Hi dear friends \nI am working on a extension (js) which copies a JSON from the browser in to clipboard ready to be pasted.\nFor days now I have searched to find how to convert the id type which are string and convert them to UUID type.\ne.g:\n“id” : \" 0b2484c8-c069-4fa3-a23d-b40010a... | Convert json commn type to mongo types "string-id" to UUID("string-id") | 2023-10-23T13:42:20.328Z | Convert json commn type to mongo types “string-id” to UUID(“string-id”) | 289 |
null | [
"aggregation"
] | [
{
"code": "```I have 2 collections\n\n1. external_S_P_FLAT_main_api \n2. external_S_C_FLAT_main_api\n\nThe collection has data as below.\n\n\"external_S_P_FLAT_main_api\": [\n {\n \"_id\": {\n \"$oid\": \"654c6a594d0867aef588674d\"\n },\n \"data.pricing.material\": \"TG11\",\n \"data.pricing.c... | After some aggregation stages, I want to filter the array within the document that matches with the conditions | 2023-11-09T13:15:32.869Z | After some aggregation stages, I want to filter the array within the document that matches with the conditions | 116 |
null | [
"swift"
] | [
{
"code": "",
"text": "I have a macOS app built with the Realm Swift SDK. The dataset is about 150mb and is running on an M2.When a new user runs the app for the first time, the initial download of of the database takes FOREVER. It pushes 5 minutes, even on a 1000Mbps connection. Sync operations after the i... | Realm Sync - Long Initial Download Times | 2023-05-02T19:39:08.320Z | Realm Sync - Long Initial Download Times | 1,036 |
null | [] | [
{
"code": "title: {\n multi: {\n de: {\n searchAnalyzer: 'lucene.german',\n type: 'string',\n },\n en: {\n searchAnalyzer: 'lucene.english',\n type: 'string',\n },\n es: {\n searchAnalyzer: 'lucene.spanish',\n type: 's... | Synonym mappings limit exceeded? | 2023-11-09T02:23:39.364Z | Synonym mappings limit exceeded? | 114 |
null | [] | [
{
"code": "",
"text": "Heya, I’m Emmanuel Katto, African Minerals and Mining Engineer expert from Uganda. I like to travel, do adventure sports, and try new cuisines when I’m not working. I find technology very intriguing and would love to share ideas to make this globe a better place to live. I am new to t... | Emmanuel Katto African Introduction | 2023-11-08T07:11:53.358Z | Emmanuel Katto African Introduction | 109 |
null | [] | [
{
"code": "",
"text": "I’m just starting to experiment with RealmCpp and Atlas Sync.I’ve verified everything works great with anonymous users.Now I want to be able to create a new user using their email as their ID. I don’t want to store a password for them. How would I go about this?It looks I could use Cu... | Create a new user based on email only? | 2023-11-04T13:48:53.402Z | Create a new user based on email only? | 157 |
[
"losangeles-mug"
] | [
{
"code": "Solution Architect",
"text": "LA_MUG1920×1080 161 KBThe LA MUG will host regular meetings to bring the MongoDB community together. It fosters sharing knowledge and meeting people who use and love MongoDB. Meetups will include interesting talks, networking, and discussions with and our community.T... | Los Angeles MongoDB User Group (LA:MUG) | 2023-10-11T22:32:55.133Z | Los Angeles MongoDB User Group (LA:MUG) | 877 | |
null | [
"aggregation"
] | [
{
"code": "",
"text": "help to get optimized query , taking long time, any alternate methods",
"username": "P.S_Shilpa"
},
{
"code": "",
"text": "Please update the title of your post to something more comprehensible.Please provide the complete pipeline.Please provide the explain plan of your... | db.colectionName1.aggregate([ { $match: { "filed1": { $in: ["x", "y"] }, } }, { $lookup: { from: "colectionName2", localField: "_id", foreignField: "xy", as: "matchedDate" } }, { $match: { | 2023-11-09T08:06:07.916Z | db.colectionName1.aggregate([ { $match: { “filed1”: { $in: [“x”, “y”] }, } }, { $lookup: { from: “colectionName2”, localField: “_id”, foreignField: “xy”, as: “matchedDate” } }, { $match: { | 88 |
null | [
"aggregation"
] | [
{
"code": "",
"text": "I am working with backups. At the moment I have two collections: A and A2.\ndocuments in both locations look like this\n{_id:ObjectId(“6456456456”), “name”:“a_unique_name”}The documents in A don’t share the same _id, they only share the “name” attribute.So my question is how can I use... | Using setDifference with mutiple collections | 2023-11-08T17:03:32.454Z | Using setDifference with mutiple collections | 118 |
null | [
"mongoose-odm",
"compass",
"mongodb-shell",
"field-encryption",
"schema-validation"
] | [
{
"code": "mongocryptdmongoshmongooseMongoDB Enterprise 7.0.2\n\"mongodb\": \"^6.2.0\",\n\"mongodb-client-encryption\": \"^6.0.0\",\n\"mongoose\": \"^8.0.0\",\ninitializeEncryptionautoEncryptionexport default class Encryption implements IEncryption {\n // ... There are several private and public variables not ... | Node.JS CSFLE-enabled Enterprise database is not encrypting data (clear text visible in Compass) | 2023-11-09T17:37:52.287Z | Node.JS CSFLE-enabled Enterprise database is not encrypting data (clear text visible in Compass) | 89 |
null | [
"aggregation",
"indexes"
] | [
{
"code": "\"aggregate\" (\"pipeline\": [{\"$match\": {\"$or\": [{\"Review\": {\"$exists\": false}},{\"Review\": null}]}},{ \"$group\": {\"_id\": {},\"COUNT\": {\"$count\": {}}}}",
"text": "Hi, I have a collection with an index on { Review: 1}, and am trying to count the documents without a Review property ... | Index is not used on OR(NOT Exists(col), col is NULL) | 2023-11-09T15:45:39.469Z | Index is not used on OR(NOT Exists(col), col is NULL) | 83 |
null | [
"queries"
] | [
{
"code": "",
"text": "Howdy folks,I’m currently using app service auth for my app, which was fine, but thankfully has no gained a bit of traction and I have almost 3k users on it. The issue I’m facing now is that a new user is unable to sign in and i’m unable to see their account to see if they are verifie... | Adding search by user email functionality in app services app users | 2023-06-23T09:26:11.937Z | Adding search by user email functionality in app services app users | 331 |
null | [
"dot-net"
] | [
{
"code": "",
"text": "Hello,I realize the Mongo EF Core provider preview was recently released. Does anyone know if EF Core Migrations are supported?",
"username": "Herb_Ramos"
},
{
"code": "",
"text": "Hi, @Herb_Ramos,Thank you for your interest in the first public preview of our EF Core ... | EF Core Migrations | 2023-11-08T22:09:22.029Z | EF Core Migrations | 109 |
null | [] | [
{
"code": "",
"text": "Hi,Using flexible sync- isn’t that a little weird that users have theoretical access to the entire database- unless filtered by a query on their device? I mean, it’s got advantages I guess for sharing data, but it sounds a bit hack-prone doesn’t it?\nI mean, the entire database is acc... | Privacy of flexible sync | 2023-11-09T03:13:41.456Z | Privacy of flexible sync | 105 |
null | [
"flexible-sync"
] | [
{
"code": "_partitionKeyuser=user.data.externalUserIduser=fbdc4c82-3c18-4bee-9064-445b75f93cfeuserMatadata=user.data.externalUserIduserMetadata=fbdc4c82-3c18-4bee-9064-445b75f93cfecanReadPartitioncanWritePartitionexports = function (partition) {\n console.log(`Checking if can sync a write for partition = ${p... | Permission issues migrating partition-based sync to flexible sync | 2023-11-02T11:36:34.002Z | Permission issues migrating partition-based sync to flexible sync | 230 |
null | [
"queries"
] | [
{
"code": "$geoIntersectsdb.neighborhoods.findOne({ geometry: { $geoIntersects: { $geometry: { type: \"Point\", coordinates: [ -73.93414657, 40.82302903 ] } } } })null",
"text": "How to make $geoIntersects work for the “legacy coordinates pair”?it is simple to find the user’s current neighborhood with $geoI... | How to make $geoIntersects work for the “legacy coordinates pair” | 2023-11-08T22:05:35.732Z | How to make $geoIntersects work for the “legacy coordinates pair” | 96 |
null | [
"objective-c"
] | [
{
"code": "RLMRealmConfiguration *configuration = [self.realmApp.currentUser flexibleSyncConfigurationWithInitialSubscriptions:^(RLMSyncSubscriptionSet * _Nonnull subscriptions) {[subscriptions addSubscriptionWithClassName:@\"DealGeneratorSet\" where:@\"owner_id = %@\", self.realmApp.currentUser.identifier];} r... | Objective-C Subscription predicate on ObjectId field | 2023-11-08T22:07:15.696Z | Objective-C Subscription predicate on ObjectId field | 104 |
[
"jakarta-mug"
] | [
{
"code": "Senior Cloud Solution ConsultantTechnical LeadFull Stack EngineerData Warehouse Engineer",
"text": "WhatsApp Image 2023-11-02 at 12.08.461600×900 109 KBWe are thrilled to announce our offline community event collaboration with Dkatalis in Jakarta. Are you ready to dive into the world of MongoDB a... | Jakarta MUG x DKatalis : Leveraging MongoDB in Modern Enterprises | 2023-11-02T04:43:27.564Z | Jakarta MUG x DKatalis : Leveraging MongoDB in Modern Enterprises | 494 | |
[
"database-tools"
] | [
{
"code": "",
"text": "MongoParseError: Invalid scheme, expected connection string to start with “mongodb://” or “mongodb+srv://”\nimage1112×274 12.2 KB",
"username": "Aum_Shukla"
},
{
"code": "",
"text": "Show your connect string from the env file\nThere could be some syntax error",
"us... | Issue related mongodb parse error | 2023-11-08T11:10:37.554Z | Issue related mongodb parse error | 110 | |
null | [] | [
{
"code": "",
"text": "Hello,Since a few days the conditionnal formating in table graph is not working anymore when based on comparison operator based on groups fields (example #toto > 0, background of text in red).Is there a bug or did the functionnality change ?Thank you\nSylvain",
"username": "Sylvai... | Conditionnal Formating not working anymore dfor groups (in Table) | 2023-11-03T15:54:22.184Z | Conditionnal Formating not working anymore dfor groups (in Table) | 217 |
null | [
"node-js"
] | [
{
"code": "[\n\t\"Hello World\",\n\t\"hello world\",\n\t\"HELLO WORLD\",\n\t\"héllö wörld\"\n]\nthis.collection.findOne({ names: name })\n",
"text": "Hi. I’m looking for Mongo functionality to search documents based on a string that will match any variation of that string ignoring capitalization and diacrit... | Ignore capitalization and diacritics (e.g. localeCompare in JS) | 2023-10-18T13:55:54.308Z | Ignore capitalization and diacritics (e.g. localeCompare in JS) | 208 |
null | [
"dot-net"
] | [
{
"code": "",
"text": "I am really interested in using MongoDB Analyzer as it is indeed very hard to figure out how to use C# driver.\nSo I installed NugetPackage in both VS2019 ans 2022 Enterprise.\nAnalyser is listed in references but it does not work. There simply aren’t any three grey dots under any exp... | MongoDB Analyzer is not working | 2022-08-09T12:45:42.824Z | MongoDB Analyzer is not working | 1,575 |
null | [
"python"
] | [
{
"code": "",
"text": "I have a free, shared tier of a MongoDB Atlas version 6.0.11 cluster an SSL is enabled, so how do I get the SSL cert required to connect to it? the simple connection string is not enough",
"username": "Brennan_Ow"
},
{
"code": "",
"text": "Hi @Brennan_Ow,What is the co... | SSL cert for free tier | 2023-11-06T09:03:53.660Z | SSL cert for free tier | 182 |
null | [] | [
{
"code": " @Prop({\n type: String,\n required: true,\n default: new Date().toISOString(),\n })\n dateAdded: string;\n @Prop({\n type: Date,\n default: new Date(),\n })\n dateAdded: Date;\n {\n \"_id\": {\n \"$oid\": \"654bfb0fd1c75afd0193f1d6\"\n ... | Mongo create document call creating 2 different documents with a legacy schema version and another with new schema | 2023-11-08T21:40:56.311Z | Mongo create document call creating 2 different documents with a legacy schema version and another with new schema | 76 |
null | [
"swift"
] | [
{
"code": "Terminating app due to uncaught exception 'RLMException', reason: 'Property 'boards' is of type 'RLMArray<Deal_boards>' which is not a supported RLMArray object type. RLMArray can only contain instances of RLMObject subclasses. See https://www.mongodb.com/docs/realm/sdk/swift/fundamentals/relationshi... | Objective-C RLMArray property error | 2023-11-08T23:00:05.360Z | Objective-C RLMArray property error | 77 |
null | [] | [
{
"code": "",
"text": "I’m also having the same issue as Install mongodb-org 5.0 on Amazon Linux 2 aarch64 architecture. how to resolve",
"username": "Simeon_Palla"
},
{
"code": "/proc/cpuinfox86_64aarch64",
"text": "Welcome to the MongoDB Community @Simeon_Palla!Please provide more details ... | Problem installing MongoDB 6.0 on Amazon Linux 2 | 2022-10-06T08:01:53.956Z | Problem installing MongoDB 6.0 on Amazon Linux 2 | 5,791 |
null | [] | [
{
"code": "",
"text": "Hello,I am preparing for my DBA associate exam and there are a couple of questions I have regarding the syllabus and practice questions. I have already passed my developer exam.There is a question in the practice exam about an error in shard keys (more specifically, question 9). In th... | DBA Practice Questions and Exam Objectives | 2023-11-07T11:55:14.821Z | DBA Practice Questions and Exam Objectives | 113 |
[
"queries"
] | [
{
"code": "",
"text": "In the below link, I found that $near 2d legacy use radians as distance measure.{ $near: [ , ], $maxDistance: }However, when I tested queries in the mongo shell, I got confused because it seems like $near 2d legacy use degrees as distance measure.db.restaurants.find({ ‘address.coord... | $near 2d legacy distance measure | 2020-03-22T09:17:12.758Z | $near 2d legacy distance measure | 1,537 | |
[
"serverless",
"api"
] | [
{
"code": "",
"text": "I want to enable/disable autoindexing for my Serverless Mongo instance using api call or terraform config.I cound not find nether of them in documentation.From internet site of my mongo cluster I went to inspect window and I got api call which is called from mongo internet site to up... | Disable autoIndexing on Mongo serverless instance | 2023-11-08T11:43:06.761Z | Disable autoIndexing on Mongo serverless instance | 94 | |
null | [
"node-js",
"mongoose-odm"
] | [
{
"code": "// Code to require the parts needed for seedsindex to work correctly\nconst mongoose = require('mongoose');\nconst MusicProduct = require('../database_models/musicproduct');\nconst BookProduct = require('../database_models/bookproduct');\n\nconst musicAlbums = require('./musicseeds');\nconst bookNove... | Getting this error - MongoNotConnectedError: Client must be connected before running operations | 2023-03-28T19:55:40.589Z | Getting this error - MongoNotConnectedError: Client must be connected before running operations | 8,763 |
null | [] | [
{
"code": "",
"text": "I accidentally deleted cluster0, please restore cluster0",
"username": "Api_Sport"
},
{
"code": "",
"text": "I am pretty sure that it cannot be done.You could create another one with the same name. Hopefully, you have a backup of your important data.",
"username":... | I accidentally deleted cluster0, please restore cluster0 | 2023-11-06T14:52:24.554Z | I accidentally deleted cluster0, please restore cluster0 | 125 |
null | [
"field-encryption"
] | [
{
"code": "csebrew info libmongocrypt\n==> mongodb/brew/libmongocrypt: stable 1.8.2, HEAD\nC library for Client Side Encryption\nhttps://github.com/mongodb/libmongocrypt\n/opt/homebrew/Cellar/libmongocrypt/1.8.2 (44 files, 9.4MB) *\n Built from source on 2023-11-07 at 11:28:05\nFrom: https://github.com/mongodb... | Unable to build Go app with cse tag | 2023-11-07T16:52:01.268Z | Unable to build Go app with cse tag | 121 |
null | [
"aggregation",
"queries",
"dot-net"
] | [
{
"code": "$all[\n {\n \"words\": [ \"Hello\", \"World\", \"!\"],\n \"wordArrays\": [\n [\"Hello\", \"World\", \"!\"],\n [\"The\", \"Sun\", \"Shines\"]\n ]\n }\n]\n{words: {$all: [\"Hello\", \"World\"]}}{words: {$all: [\"Hello\", \"I do not exist\"]}}{\"wordArrays.0\": {$all: [\"Hello\", \"... | Nested array operation for $all does not seem to work in mongodb | 2023-06-08T17:33:08.529Z | Nested array operation for $all does not seem to work in mongodb | 742 |
null | [
"kafka-connector"
] | [
{
"code": "",
"text": "Hi.We are considering using heartbeat mechanism to prevent the loss of the resume token when reading changes from a collection.Our current scenario involves 6 collections being polled, each by one separate connector.So far, we haven’t found any documentation about the heartbeat topic ... | Heartbeat topic configuration for Kafka Source Connector | 2021-09-10T11:54:21.879Z | Heartbeat topic configuration for Kafka Source Connector | 3,403 |
null | [
"data-modeling",
"database-tools",
"field-encryption"
] | [
{
"code": "total_item: 10,\nlistOfItems:[\n{ item: 5, name: \"Value1\"}, \n{ item: 3, name: \"Value2\"}, \n{ item: 2, name: \"Value3\"}\n]\ntotal_item: 15,\nlistOfItems:[\n{ item: 5, name: \"Value1\"}, \n{ item: 3, name: \"Value2\"}, \n{ item: 2, name: \"Value3\"},\n{ item: 5, name: \"Value4\"}\n]\n",
"text... | How to create a field that contains values formulated with values of other fields? | 2023-11-07T13:15:52.080Z | How to create a field that contains values formulated with values of other fields? | 113 |
[
"queries"
] | [
{
"code": "",
"text": "We noticed a significant performance drop after upgrading our servers from version 6 to 7.The same query that selects 2 index entries and took 2ms on version 6 would suddenly\ntake 50 ms on version 7.\nThe number of scanned/returned documents did not change.The size of the dataset is ... | Performance Drop After Upgrade 6.0.10 > 7.0.1 | 2023-09-28T09:44:55.072Z | Performance Drop After Upgrade 6.0.10 > 7.0.1 | 348 | |
[
"java"
] | [
{
"code": "",
"text": "image2260×1202 428 KB",
"username": "Adan_Zeng"
},
{
"code": "",
"text": "Hi Adan,Thank you for bringing this issue to our attention.The MongoDB University team is investigating and will update you as a soon as possible.",
"username": "Davenson_Lombard"
}
] | Cannot check in progress when learning "Getting Started with MongoDB Atlas" in MongoDB Java Developer Path | 2023-11-05T08:04:41.256Z | Cannot check in progress when learning “Getting Started with MongoDB Atlas” in MongoDB Java Developer Path | 151 | |
[
"node-js"
] | [
{
"code": "",
"text": "Hi everyone. II’d to to ask why my node.js can’t connect to mongodb. it shows “Internal server error: MongoDB collection not available”. Did I make mistakes on codes or something, Can anyone reach out for this problem. Thank you.Screenshot 2023-11-08 at 18.32.561520×808 92.1 KB",
... | Node js connect to mongodb failed | 2023-11-08T10:44:21.358Z | Node js connect to mongodb failed | 99 | |
null | [
"schema-validation"
] | [
{
"code": "total_orders = len('orders_list')\ntotal_amount = summation of all 'amount' present in each item of 'orders_list'\ntotal_tax = summation of all 'tax_amount' present in each item of 'orders_list'\n",
"text": "HiiCurrently I have created a calculated field in my mongodb collection with following ca... | How to put validation on Calculated Field? | 2023-11-07T10:26:25.907Z | How to put validation on Calculated Field? | 107 |
null | [] | [
{
"code": "",
"text": "I am using mongodb atlas where we have prod cluster and Dev cluster.\ni want to copy some specific collection data from prod to dev cluster for some data validation work.Can anyone help on this. Which feature do i need to follow.",
"username": "Rojalin_Das1"
},
{
"code": ... | How to move specific Collection's data from prod atlas cluster to dev atlas cluster | 2023-11-08T05:48:16.857Z | How to move specific Collection’s data from prod atlas cluster to dev atlas cluster | 91 |
null | [
"node-js",
"mongoose-odm"
] | [
{
"code": "db.runCommand ( { collMod: \"myCollection\", changeStreamPreAndPostImages: { enabled: true } } );\n",
"text": "I want to apply the following MongoDB command to my collectionIs it possible to configure it in Mongo Altas, if not, how I can do it using Mongoose?",
"username": "WONG_TUNG_TUNG"
... | How to set the db.createCollection() parameter in Mongodb Altas or Mongoose | 2023-10-26T04:32:45.035Z | How to set the db.createCollection() parameter in Mongodb Altas or Mongoose | 387 |
null | [
"node-js",
"mongoose-odm",
"atlas-cluster"
] | [
{
"code": "/usr/src/app/node_modules/mongodb/lib/cmap/connection_pool.js:262\n connection.onError(new errors_1.PoolClearedOnNetworkError(this));\n ^\n \n PoolClearedOnNetworkError: Connection to ac-727rc86-shard-00-01.fgbtzus.mongodb.net:27017 interrupted due t... | PoolClearedOnNetworkError: ...mongodb.net:27017 interrupted due to server monitor timeout | 2023-11-05T17:01:44.758Z | PoolClearedOnNetworkError: …mongodb.net:27017 interrupted due to server monitor timeout | 158 |
null | [] | [
{
"code": "",
"text": "Hi guys, could you help me?I connected some collections of mongodb atlas to power bi desktop, using the connector that was released at this month.However, when I try to schedule updates in Power BI Service, it’s returning this error:Missing client library for datasource Visit MongoDB ... | MongoDB Atlas Connector <> Power BI Service | 2023-06-26T12:53:51.541Z | MongoDB Atlas Connector <> Power BI Service | 3,608 |
null | [
"app-services-data-access"
] | [
{
"code": "{\n \"collaborator_id\": { \n \"$in\": \"%%user.custom_data.collaborators\"\n }\n}\nending session with error: error bootstrapping new query: error querying state store: error while querying the state collection \"state_Item\": (BadValue) $in needs an array (ProtocolErrorCode=201)\n{\n \"title\... | Document filters with an array of UUID | 2023-10-17T03:14:26.565Z | Document filters with an array of UUID | 244 |
null | [
"queries",
"node-js"
] | [
{
"code": "",
"text": "We are facing mongo force connection as the system is idle for more time\nwe are using node js version 16 and Mongo version 7.3.1",
"username": "Harsha_Vardhan_Reddy_N"
},
{
"code": "",
"text": "Hey @Harsha_Vardhan_Reddy_N,Welcome to the MongoDB community!We are facing... | Connection force closed | 2023-10-16T05:46:16.268Z | Connection force closed | 537 |
[
"queries"
] | [
{
"code": "",
"text": "Just generated a new code for the GitHub education $50 offer but it’s not letting me redeem it.\nI keep getting this error: “ Sorry, it looks like the code you entered has run out of available uses. Please enter a different code.”\nIMG_46581094×991 98.9 KB",
"username": "zw_J"
}... | Can’t redeem GitHub educational code | 2023-11-04T09:51:16.386Z | Can’t redeem GitHub educational code | 156 | |
null | [] | [
{
"code": "curl --user \"{username}:{password}\" --digest --header \"Accept: application/vnd.atlas.2023-02-01+json\" https://cloud.mongodb.com/api/atlas/v2/groups/{groupID}/customDBRoles/roles\n[{\"actions\":[{\"action\":\"COLL_MOD\",\"resources\":[{\"collection\":\"\",\"db\":\"example\"}]}],\"inheritedRoles\"... | MongoDB Atlas API: Create New CustomRole With Curl & Payload | 2023-10-06T03:58:18.195Z | MongoDB Atlas API: Create New CustomRole With Curl & Payload | 393 |
null | [
"atlas-device-sync",
"atlas-cluster",
"atlas"
] | [
{
"code": "",
"text": "As suggested, I’m making a separate post about this. I wasn’t going to initially since I thought it might just be me, but it seems like there are similar things going on with other people.I’ve been developing an app using MongoDB Realm with Device Sync. It’s still in development with ... | Abnormal Data Transfer Usage | 2023-10-31T21:41:58.584Z | Abnormal Data Transfer Usage | 278 |
null | [
"node-js"
] | [
{
"code": "",
"text": "\"I’m encountering a problem connecting to MongoDB Atlas, even though I’ve allowed network access for everyone by adding ‘0.0.0.0/0’ to the IP whitelist. When attempting to connect, I consistently receive the following error message: ‘MongooseServerSelectionError: Could not connect to... | Connecting to database | 2023-11-07T13:58:12.264Z | Connecting to database | 121 |
null | [
"aggregation",
"queries",
"atlas-search"
] | [
{
"code": "db.collection.aggregate([\n {\n $search: {\n \"index\": 'search',\n \"count\": { \"type\": \"total\" },\n \"compound\": {\n \"must\": [{\n \"range\": {\n \"path\": \"timestamp\",\n ... | Query optimization while using skip and limit in Atlas search | 2022-11-09T04:32:00.934Z | Query optimization while using skip and limit in Atlas search | 4,018 |
null | [
"node-js",
"serverless"
] | [
{
"code": " MongoNetworkError: connection 1 to *IP*:27017 closed\n at Connection.onClose (.../node_modules/mongodb/lib/cmap/connection.js:134:19)\n at TLSSocket.<anonymous> (.../node_modules/mongodb/lib/cmap/connection.js:62:46)\n at TLSSocket.emit (node:events:513:28)\n at TLSSocket.emit (node:doma... | MongoNetworkError: connection 1 to *IP*:27017 closed | 2023-01-20T23:24:01.307Z | MongoNetworkError: connection 1 to *IP*:27017 closed | 5,937 |
null | [
"node-js",
"mongoose-odm",
"compass",
"atlas",
"serverless"
] | [
{
"code": "mongodb+srv://user:password@database-pe-0.vyi9q.mongodb.net/devssh -L 27017:10.0.4.19:27017 ec2-user@ec2-xx-xxx-xxx-xxx.compute-1.amazonaws.com -i key.pem",
"text": "Hi I’m facing a problem when a I try to connect through a SSH Tunnel and a Bastion Host. I want to connect to my serverless instanc... | Connection issues through SSH Tunnel to Atlas Serverless | 2023-05-24T15:44:29.416Z | Connection issues through SSH Tunnel to Atlas Serverless | 891 |
null | [
"document-versioning"
] | [
{
"code": "",
"text": "Howdy all, I noticed there was a newer version of @realm/react available and the readme on the npm website is different to the documentation on the website, wondering if these will be brought in sync?",
"username": "gymbuddy_ai"
},
{
"code": "",
"text": "Hi @gymbuddy_a... | Realm docs are not up to date with npm package. docs | 2023-11-07T14:29:00.248Z | Realm docs are not up to date with npm package. docs | 101 |
null | [
"transactions"
] | [
{
"code": "",
"text": "Hi all, in my certification test I found questions on replication and transaction that are not included in the certification exam guide. Could you please check? Thanks a lot in advance",
"username": "ILENIA_MARIA_DIOMEDE"
},
{
"code": "",
"text": "Hello Ilenia. Questi... | Different topics in certification dev exam | 2023-09-26T13:45:05.862Z | Different topics in certification dev exam | 472 |
null | [
"node-js",
"replication",
"compass",
"containers"
] | [
{
"code": "mongodb://localhost:27017,localhost:27018,localhost:27019/?replicaSet=myReplicaSetgetaddrinfo ENOTFOUND mongo2",
"text": "I have followed everything in the relevant document. All my outputs are correct as in the document, but I encounter an error when trying to establish a connection through the ... | How can I connect to a MongoDB replica set cluster created with Docker using Compass? | 2023-11-06T11:46:24.686Z | How can I connect to a MongoDB replica set cluster created with Docker using Compass? | 117 |
null | [
"java"
] | [
{
"code": "",
"text": "Hi ,Please can anyone suggest me a good tutorial which I can use to practice Mongo DB Java driver apart from the one section that we have in the Mongo DB universityReason, In my first attempt for Mongo DB Developer Associate, I felt the Java driver questions were challenging and thoug... | Mongo DB Java Learning | 2023-11-07T06:46:00.027Z | Mongo DB Java Learning | 97 |
null | [
"aggregation",
"queries",
"node-js"
] | [
{
"code": "import { MongoDBAtlasVectorSearch } from \"langchain/vectorstores/mongodb_atlas\";\nconst store = new MongoDBAtlasVectorSearch(embeddings, { \"collection\": my_collection, \"indexName\": \"default\", \"textKey\": \"page_content\", \"embeddingKey\":\"page_embeddings\"})\nreturn await store.similarityS... | How to apply filters to function "similaritySearchWithScore" of langchain? | 2023-11-03T15:36:36.193Z | How to apply filters to function “similaritySearchWithScore” of langchain? | 201 |
null | [
"containers"
] | [
{
"code": "",
"text": "I have a docker system contains a service that connects with mongodb service. During boot of the service I noticed the message “org.mongodb.driver.cluster: Exception in monitor thread while connecting to server localhost:27017” while the container and host name of the mongodb service ... | Connecting wit mongodb service | 2023-10-28T15:54:42.714Z | Connecting wit mongodb service | 193 |
null | [
"sharding",
"backup"
] | [
{
"code": "",
"text": "Hello,We have started to see this issue after upgrading to 3.6 and it has continued into 4.0. When we restore a shared cluster with config servers setup in a 3 node replication set we are getting timeouts on all activity from mongos.The error message in the config server logs is2021... | Restore of Sharded causing connections to hang with timeout | 2021-04-08T16:40:06.805Z | Restore of Sharded causing connections to hang with timeout | 2,482 |
null | [
"node-js"
] | [
{
"code": "node_modules\\bson\\lib\\bson.cjs:479\n inspect ??= defaultInspect;\n ^^^\n\nSyntaxError: Unexpected token '??='\n",
"text": "Getting this error when trying to start my server and connect to mongodb.\nI have Node v21.1.0 installed. Anyone fixed this error before?",
"user... | Node app - SyntaxError: Unexpected token | 2023-10-31T23:30:26.503Z | Node app - SyntaxError: Unexpected token | 1,084 |
null | [
"cxx"
] | [
{
"code": "bson_tbsoncxx::document::viewbson_tbsoncxx::builder::basic::arraybsoncxx::document::view",
"text": "I’m writing c++ code that needs to jive with existing c code.The structure in question has an array of bson_t entries, and I need to create a bsoncxx::document::view from the bson_t objects (to por... | How do I create a bsoncxx::document::view from a bson_t? | 2023-10-25T12:28:47.538Z | How do I create a bsoncxx::document::view from a bson_t? | 249 |
null | [
"atlas-search",
"atlas-cli",
"local-dev-atlas-cli"
] | [
{
"code": "$ brew install mongodb-atlas$ atlas deployments setup",
"text": "Hello everyone!Today, we are excited to announce the release of a new local experience with Atlas, Atlas Search, and Atlas Vector Search with the Atlas CLI.The Atlas CLI, a unified command-line tool for creating and managing MongoDB... | Introducing a Local Experience for Atlas, Atlas Search, and Atlas Vector Search with the Atlas CLI | 2023-09-26T10:24:33.787Z | Introducing a Local Experience for Atlas, Atlas Search, and Atlas Vector Search with the Atlas CLI | 866 |
null | [
"java"
] | [
{
"code": "",
"text": "Our application supports MongoDB version 4.2. We are using Java driver version 3.12. We want to upgrade to MongoDB 6.0, but our application supports mongodb 4.2 version. Can it be enough to update the java driver version to at least 4.7 to upgrade to Mongodb version 6.0?",
"userna... | MongoDB Upgrade 4.2 to 6.0 | 2023-11-07T07:06:46.809Z | MongoDB Upgrade 4.2 to 6.0 | 106 |
null | [
"field-encryption"
] | [
{
"code": "",
"text": "If Client-Side Field Level Encryption (CSFLE) supports working with multiple AWS KMS where customer manages keys in its AWS KMS and same MongoDB database uses different AWS KMS accounts keys for field level encryption.",
"username": "David_Livshits"
},
{
"code": "",
"t... | CSFLE with multiple AWS KMS | 2023-02-15T09:29:29.043Z | CSFLE with multiple AWS KMS | 1,475 |
null | [
"sharding",
"migration"
] | [
{
"code": "config.system.sessions\"Slow query\"2023-10-25T11:49:21Z charmed-mongodb.mongod[4753]: {\"t\":{\"$date\":\"2023-10-25T11:49:21.835+00:00\"},\"s\":\"I\", \"c\":\"COMMAND\", \"id\":51803, \"ctx\":\"conn179\",\"msg\":\"Slow query\",\"attr\":{\"type\":\"command\",\"ns\":\"admin.$cmd\",\"command\":{\"... | Slow drainage of collection `config.system.sessions` when performing `removeShard` | 2023-10-26T07:20:06.291Z | Slow drainage of collection `config.system.sessions` when performing `removeShard` | 215 |
null | [] | [
{
"code": "",
"text": "Hi all, in Mongo Database. I have one collection ex: test1collection, the size of the collection is 640GB on disk. I have the following index on the collections, this index deletes data after expires, but the collection continues growing :\n{\nv: 2,\nkey: { processStart: -1 },\nname: ... | Unclean space in mongodb | 2023-11-05T21:24:15.557Z | Unclean space in mongodb | 143 |
null | [
"replication",
"compass"
] | [
{
"code": "",
"text": "Hi Team,We have setup a replicaset mongodb in linux. 3 node(1primary and 2 secondary).\nI am able to connect to primary via compass but after stepdown of primary, 2node has been new primary. But unable to connect via compass. From system i have network access to all 3 nodes.\nI am stu... | Unable to connect new primary after stepdown of old primary in ReplicaSET | 2023-11-02T06:13:45.402Z | Unable to connect new primary after stepdown of old primary in ReplicaSET | 175 |
null | [
"aggregation",
"indexes",
"performance"
] | [
{
"code": " 'namespace': 'dap-ods.bookings',\n 'optimizedPipeline': True,\n 'parsedQuery': {'$and': [{'contacts.value': {'$eq': '11133 3336-8878'}},\n {'segments.departureAirportCode': {'$eq': 'SEA'}},\n ... | Array Index issue - Not working | 2023-10-24T13:37:39.457Z | Array Index issue - Not working | 292 |
null | [] | [
{
"code": "... SELinux is preventing /usr/bin/mongod from search access on the directory /var/lib/containers/storage/overlay-containers/fe6f1040c1373930efe68c777805ecd4c921631e3a87b8806af1fe0cdf266d8b/userdata/shm. For complete SELinux messages run: sealert -l 5263cddc-183a-472b-9098-bf4599c8453c ... ",
"te... | What's MongoDB business in "other" filesystem paths? SELinux | 2023-11-03T10:38:24.571Z | What’s MongoDB business in “other” filesystem paths? SELinux | 197 |
null | [] | [
{
"code": "",
"text": "Good morning,\nI don’t understand why since yesterday my requests have been extremely long, more or less 2 to 3 minutes, because I’m with the free version? but I don’t think I saw that there was a request limit?\nIf anyone could tell me, that would be great.",
"username": "jordan_... | Very slow request since yesterday | 2023-11-05T14:11:02.987Z | Very slow request since yesterday | 140 |
null | [
"aggregation",
"dot-net"
] | [
{
"code": "internal async Task<IEnumerable<BsonDocument>> GetDocumentsAsync(string collectionName, int? pageIndex, int? pageSize) {\n var collection = _database.GetCollection<BsonDocument>(collectionName);\n\n var aggregationPipeline = new BsonDocument[]\n {\n new BsonDocument(\"$skip\", pageSiz... | MongoDb : Aggregate method taking too long | 2023-11-03T08:57:09.843Z | MongoDb : Aggregate method taking too long | 185 |
null | [
"python"
] | [
{
"code": "from django.db import models\nfrom django.contrib.auth.models import User\nimport uuid\n\n\nclass Profile(models.Model):\n user = models.ForeignKey(User, on_delete=models.CASCADE)\n unique_id = models.UUIDField(default=uuid.uuid4, primary_key=True)\n image = models.FileField(upload_to='profi... | DatabaseError at /admin/core/profile/add/ No exception message supplied | 2023-06-06T12:14:41.987Z | DatabaseError at /admin/core/profile/add/ No exception message supplied | 1,154 |
null | [
"node-js",
"graphql",
"serverless"
] | [
{
"code": "",
"text": "I am considering MongoDB as a database for websites that require a mostly read-heavy workload.Which data options in MongoDB Atlas have the highest performance for reading data?\nData API, GraphQL, or Realm web SDK?I can’t use the node.js driver as I am planning to run the website in a... | Performance question - Atlas data api vs graphql api vs realm-web sdk | 2023-10-11T21:31:46.373Z | Performance question - Atlas data api vs graphql api vs realm-web sdk | 294 |
null | [
"node-js"
] | [
{
"code": "net.Socket",
"text": "Today, Cloudflare announced their support for TCP sockets in Workers, along with day-1 support for Postgres.I would love to see some form of first class support, either in the main package or through another package, but I can’t think of a good way to do this (aside from for... | Cloudflare Workers integration is now possible | 2023-05-16T21:21:25.692Z | Cloudflare Workers integration is now possible | 1,598 |
null | [
"atlas-cluster"
] | [
{
"code": "",
"text": "We are running into some issues with Atlas DB / Federated databases while using Tableau –We have tried working with the sample data from the AWS instance and that is working with Tableau, but now we are trying to connect with our database instance.Any suggestions? We are completely st... | Atlas DB / Federated databases while using Tableau – | 2023-03-10T22:30:42.539Z | Atlas DB / Federated databases while using Tableau – | 1,510 |
null | [
"java",
"connecting",
"serverless"
] | [
{
"code": "",
"text": "I have searched for the answer and I have not found a satisfied answer, is it true that for now the serverless instance with aws lambda function can only be through ip whitelist 0.0.0.0/0 (allow from anywhere), is there no safer way?\nI read the documentation that serverless instances... | How is the secure connection between serverless instance of mongodb atlas and aws lambda? | 2023-11-06T14:00:47.598Z | How is the secure connection between serverless instance of mongodb atlas and aws lambda? | 112 |
null | [
"aggregation"
] | [
{
"code": "{\n _id: ObjectId('...'),\n name: \"CyM_PC\",\n description:\"CyM_PC (Outside, Inside)\",\n network_objects: [\n \"IN03PGSUR\",\n \"IN04PGSUR\",\n \"IN05PGSUR\"\n],\n group_objects: [\n \"Other_Users\"\n]\n}\n{\n _id: ObjectId('...'),\n name: \"IN03PGSUR\",\n description: \"Create... | Nested lookup - how to flatten objects in an interative manner | 2023-11-06T12:57:45.350Z | Nested lookup - how to flatten objects in an interative manner | 95 |
null | [
"database-tools"
] | [
{
"code": "",
"text": "my csv import is working but only 548 rows are imported into atlas. I checked that my csv file is not corrupted. The csv contains 14k rows. Is there a way to increase the buffer size? thanks",
"username": "Rick_Delpo"
},
{
"code": "",
"text": "thanks anyway guys but I ... | Mongoimport not importing entire csv | 2023-11-06T15:47:08.988Z | Mongoimport not importing entire csv | 90 |
null | [
"atlas-functions",
"flutter"
] | [
{
"code": "",
"text": "I have a function which iterates over records, putting them into a hashmap to return to my flutter app. For the app I also add a numeric index value (which is needed later) by the app. The function returns two different types for this numeric value (it’s a position index used later) $... | 0 is returned as { "$numberLong": "0" } 1 is returned as { "$numberInt": "1" } | 2023-11-05T16:49:14.147Z | 0 is returned as { “$numberLong”: “0” } 1 is returned as { “$numberInt”: “1” } | 125 |
null | [
"aggregation",
"queries",
"node-js",
"crud"
] | [
{
"code": "",
"text": "Hi Everyone,\nI have a aggregation pipeline where the match criteria is generated dynamically by end user and the updates as well. Right now I convert the user input to a aggregation pipeline and I have some scenarios where I am using $lookup for matching parents and child. Now the th... | For a 24m records collection is it correct to update using aggregation with custom timeout settings or do multiple batch updates using updateMany and other methods? | 2023-11-02T09:36:30.080Z | For a 24m records collection is it correct to update using aggregation with custom timeout settings or do multiple batch updates using updateMany and other methods? | 156 |
null | [
"dot-net",
"connecting",
"atlas-cluster",
"android",
"kotlin"
] | [
{
"code": "implementation 'org.mongodb:mongodb-driver-sync:4.7.2'+srvIllegalArgumentException+srv+srvclass Database(client: MongoClient){\n\n companion object {\n\n fun connect(username : String?, password: String?) : Database?\n {\n val databaseObject: Database\n lateinit... | How to properly connect my Kotlin android App with Mongodb Atlas Cluster? | 2022-10-28T02:49:31.245Z | How to properly connect my Kotlin android App with Mongodb Atlas Cluster? | 4,437 |
null | [
"crud",
"mongodb-shell"
] | [
{
"code": "db.types.insertOne(\n {\n \"_id\": 1,\n \"value\": Int32(\"1\"),\n \"expectedType\": \"Int32\"\n }\n)\nexpectedTypeinsertOne(...)expectedTypeupdateOne(...)",
"text": "I’ve seen in the mongosh documentation that you can provide a type hint when inserting data into a collectio... | Is the expectedType parameter available on updateOne(...)? | 2023-11-06T11:10:23.548Z | Is the expectedType parameter available on updateOne(…)? | 88 |
null | [
"python"
] | [
{
"code": "",
"text": "Created a cluster with 3 nodes (A - Primary, B, C). Everything worked fine. Now,How can we recover the cluster and make node C functional?",
"username": "Ronak_Shah"
},
{
"code": "import random\nfrom pymongo import MongoClient\nreplica_set_name = \"rs02\"\nhost1 = 'localho... | Mongo Cluster: Node unable to join the cluster after failure | 2023-10-25T07:36:31.635Z | Mongo Cluster: Node unable to join the cluster after failure | 208 |
null | [
"serverless"
] | [
{
"code": "",
"text": "Hi Folks,Just a quick word of warning… if you’ve got a Mongo DB serverless database running you better keep an eye on the bill. I’ve just been stung for $155 for 2 1/2 days. To say I’m shocked is an understatement .The pricing structure is really not user friendly and TBH I feel a bit... | WARNING! -- Mongo DB Serverless Pricing | 2022-09-16T07:09:08.408Z | WARNING! – Mongo DB Serverless Pricing | 6,639 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.