[{"data":1,"prerenderedAt":1157},["ShallowReactive",2],{"node-red-\u002Fnode-red\u002Fdatabase\u002Fmongodb":3},{"id":4,"title":5,"body":6,"description":1150,"extension":1151,"meta":1152,"navigation":960,"path":1153,"seo":1154,"stem":1155,"__hash__":1156},"nodeRed\u002Fnode-red\u002Fdatabase\u002Fmongodb.md","Using MongoDB With Node-RED (2026 Updated)",{"type":7,"value":8,"toc":1124},"minimark",[9,17,21,26,29,32,37,40,63,71,75,78,81,84,95,99,103,125,129,132,164,172,176,184,191,208,212,215,229,236,240,243,247,250,379,383,386,418,427,431,436,443,447,455,459,490,497,511,518,537,544,560,567,572,579,583,603,610,618,625,629,635,639,644,650,659,711,718,725,730,737,741,748,752,757,764,773,836,839,846,851,857,861,867,871,884,891,895,902,906,909,913,1088,1092,1099,1113,1120],[10,11,13],"h1",{"id":12},"",[14,15],"binding",{"value":16},"meta.title",[18,19,20],"p",{},"This guide provides implementation procedures for integrating MongoDB with Node-RED. It covers configuration requirements, operational patterns, and a complete implementation example using a customer relationship management system.",[22,23,25],"h2",{"id":24},"understanding-mongodb","Understanding MongoDB",[18,27,28],{},"MongoDB is an open-source NoSQL database that stores data in flexible, JSON-like documents rather than rigid table structures. Each document can maintain its own schema, which allows for data model evolution without requiring database-wide migrations. This architectural approach suits applications where data structures change frequently or vary between records.",[18,30,31],{},"The database uses a distributed architecture that supports horizontal scaling across multiple nodes. It handles high-volume workloads and provides query performance suitable for real-time operations.",[33,34,36],"h3",{"id":35},"data-organization","Data Organization",[18,38,39],{},"MongoDB structures data into three hierarchical components, which differ from traditional relational databases:",[41,42,43,51,57],"ul",{},[44,45,46,50],"li",{},[47,48,49],"strong",{},"Collections"," replace tables",[44,52,53,56],{},[47,54,55],{},"Documents"," replace rows",[44,58,59,62],{},[47,60,61],{},"Fields"," replace columns",[18,64,65],{},[66,67],"img",{"alt":68,"dataZoomable":12,"src":69,"title":70},"\"Annotomy of MongoDB document\"","\u002Fnode-red-media\u002Fdatabase\u002Fimages\u002Fusing-mongodb-with-node-red-annotomy-of-mongodb-document.png","Annotomy of MongoDB document",[22,72,74],{"id":73},"technical-considerations","Technical Considerations",[18,76,77],{},"Several factors make MongoDB appropriate for Node-RED integration:",[18,79,80],{},"MongoDB's document model aligns directly with JSON data structures, which eliminates transformation overhead between Node-RED message objects and database records. The schema-less architecture supports rapid iteration without requiring schema migrations for each data model change.",[18,82,83],{},"The database scales horizontally by distributing data across multiple servers. While some SQL databases support horizontal scaling, MongoDB's architecture implements this pattern natively. The query language uses a document-based syntax that matches common programming patterns.",[18,85,86,87,94],{},"MongoDB Atlas provides managed database services with automated backups, security controls, and monitoring tools. The platform includes specialized implementations for industrial applications. Additional information is available at ",[88,89,93],"a",{"href":90,"rel":91},"https:\u002F\u002Fwww.mongodb.com\u002Fcompany\u002Fnewsroom\u002Fpress-releases\u002Fmongodb-atlas-for-manufacturing-and-automotive",[92],"nofollow","MongoDB Atlas for Manufacturing and Automotive",".",[22,96,98],{"id":97},"configuration-procedures","Configuration Procedures",[33,100,102],{"id":101},"installing-the-mongodb-node","Installing the MongoDB Node",[104,105,106,109,112,115,122],"ol",{},[44,107,108],{},"Open Node-RED Settings (top-right menu)",[44,110,111],{},"Select \"Manage Palette\"",[44,113,114],{},"Navigate to the \"Install\" tab",[44,116,117,118],{},"Search for ",[119,120,121],"code",{},"node-red-contrib-mongodb4",[44,123,124],{},"Install the package",[33,126,128],{"id":127},"connection-parameters","Connection Parameters",[18,130,131],{},"Collect the following configuration values before proceeding:",[41,133,134,140,146,152,158],{},[44,135,136,139],{},[119,137,138],{},"Host",": Server IP address or hostname",[44,141,142,145],{},[119,143,144],{},"Port",": Connection port (default: 27017; may not be required for managed services)",[44,147,148,151],{},[119,149,150],{},"Database",": Target database name",[44,153,154,157],{},[119,155,156],{},"User",": Account username with appropriate database privileges",[44,159,160,163],{},[119,161,162],{},"Password",": Account password",[18,165,166,167,94],{},"For TLS\u002FSSL configuration and other advanced options, consult the ",[88,168,171],{"href":169,"rel":170},"https:\u002F\u002Fflows.nodered.org\u002Fnode\u002Fnode-red-contrib-mongodb4",[92],"node documentation",[33,173,175],{"id":174},"environment-variable-configuration","Environment Variable Configuration",[18,177,178,179,183],{},"Store connection credentials in environment variables rather than embedding them directly in flows. This prevents credential exposure in version control and exported flow definitions. Reference the guide ",[88,180,182],{"href":181},"\u002Fblog\u002F2023\u002F01\u002Fenvironment-variables-in-node-red\u002F","Using Environment Variables in Node-RED"," for additional context.",[18,185,186],{},[66,187],{"alt":188,"dataZoomable":12,"src":189,"title":190},"\"Screenshot displaying FlowFuse instance settings\"","\u002Fnode-red-media\u002Fdatabase\u002Fimages\u002Fusing-mongodb-with-node-red-flowfuse-instance-setting.png","Screenshot displaying FlowFuse instance settings",[104,192,193,196,199,202,205],{},[44,194,195],{},"Navigate to instance settings",[44,197,198],{},"Select the \"Environment\" tab",[44,200,201],{},"Add variables for each configuration parameter",[44,203,204],{},"Save the configuration",[44,206,207],{},"Restart the instance using the Actions menu",[33,209,211],{"id":210},"configuring-the-mongodb-node","Configuring the MongoDB Node",[18,213,214],{},"Configure the node to use the environment variables:",[104,216,217,220,223,226],{},[44,218,219],{},"Add a MongoDB4 node to the canvas",[44,221,222],{},"Open the node configuration",[44,224,225],{},"Click the edit icon next to the connection field",[44,227,228],{},"Reference environment variables as shown below",[18,230,231],{},[66,232],{"alt":233,"dataZoomable":12,"src":234,"title":235},"\"Screenshot displaying connection configuration of MongoDB 4 node.\"","\u002Fnode-red-media\u002Fdatabase\u002Fimages\u002Fusing-mongodb-with-node-red-mongodb-node-connection-configuration.png","Screenshot displaying connection configuration of MongoDB 4 node.",[22,237,239],{"id":238},"implementation-example-customer-management-system","Implementation Example: Customer Management System",[18,241,242],{},"This section demonstrates MongoDB operations through a functional customer relationship management system. The implementation covers create, read, update, and delete operations using a representative data structure.",[33,244,246],{"id":245},"data-schema","Data Schema",[18,248,249],{},"The customer records use the following structure:",[251,252,256],"pre",{"className":253,"code":254,"language":255,"meta":12,"style":12},"language-json shiki shiki-themes github-light github-dark","{\n  \"_id\": \"NXaxeFEK\",\n  \"firstname\": \"alice\",\n  \"lastname\": \"demo\",\n  \"email\": \"userdemo601@gmail.com\",\n  \"phone\": \"+19876543561\",\n  \"company\": \"self\",\n  \"status\": \"Prospect\",\n  \"source\": \"website\"\n}\n","json",[119,257,258,267,284,297,310,323,336,349,362,373],{"__ignoreMap":12},[259,260,263],"span",{"class":261,"line":262},"line",1,[259,264,266],{"class":265},"sVt8B","{\n",[259,268,270,274,277,281],{"class":261,"line":269},2,[259,271,273],{"class":272},"sj4cs","  \"_id\"",[259,275,276],{"class":265},": ",[259,278,280],{"class":279},"sZZnC","\"NXaxeFEK\"",[259,282,283],{"class":265},",\n",[259,285,287,290,292,295],{"class":261,"line":286},3,[259,288,289],{"class":272},"  \"firstname\"",[259,291,276],{"class":265},[259,293,294],{"class":279},"\"alice\"",[259,296,283],{"class":265},[259,298,300,303,305,308],{"class":261,"line":299},4,[259,301,302],{"class":272},"  \"lastname\"",[259,304,276],{"class":265},[259,306,307],{"class":279},"\"demo\"",[259,309,283],{"class":265},[259,311,313,316,318,321],{"class":261,"line":312},5,[259,314,315],{"class":272},"  \"email\"",[259,317,276],{"class":265},[259,319,320],{"class":279},"\"userdemo601@gmail.com\"",[259,322,283],{"class":265},[259,324,326,329,331,334],{"class":261,"line":325},6,[259,327,328],{"class":272},"  \"phone\"",[259,330,276],{"class":265},[259,332,333],{"class":279},"\"+19876543561\"",[259,335,283],{"class":265},[259,337,339,342,344,347],{"class":261,"line":338},7,[259,340,341],{"class":272},"  \"company\"",[259,343,276],{"class":265},[259,345,346],{"class":279},"\"self\"",[259,348,283],{"class":265},[259,350,352,355,357,360],{"class":261,"line":351},8,[259,353,354],{"class":272},"  \"status\"",[259,356,276],{"class":265},[259,358,359],{"class":279},"\"Prospect\"",[259,361,283],{"class":265},[259,363,365,368,370],{"class":261,"line":364},9,[259,366,367],{"class":272},"  \"source\"",[259,369,276],{"class":265},[259,371,372],{"class":279},"\"website\"\n",[259,374,376],{"class":261,"line":375},10,[259,377,378],{"class":265},"}\n",[33,380,382],{"id":381},"mongodb-operations","MongoDB Operations",[18,384,385],{},"The implementation uses five core operations:",[41,387,388,394,400,406,412],{},[44,389,390,393],{},[47,391,392],{},"InsertOne",": Adds a single document to a collection",[44,395,396,399],{},[47,397,398],{},"Find",": Retrieves documents matching specified criteria",[44,401,402,405],{},[47,403,404],{},"UpdateOne",": Modifies a single document based on query parameters",[44,407,408,411],{},[47,409,410],{},"DeleteOne",": Removes a single document matching query criteria",[44,413,414,417],{},[47,415,416],{},"Drop",": Deletes an entire collection",[18,419,420,421,426],{},"Refer to the ",[88,422,425],{"href":423,"rel":424},"https:\u002F\u002Fwww.mongodb.com\u002Fbasics\u002Fcrud",[92],"MongoDB CRUD documentation"," for the complete operation set.",[33,428,430],{"id":429},"additional-dependencies","Additional Dependencies",[432,433,435],"h4",{"id":434},"nanoid-generator","NanoID Generator",[18,437,438,439,442],{},"Install ",[119,440,441],{},"node-red-contrib-friendly-id"," through the palette manager. This package generates compact, URL-safe unique identifiers for customer records. The implementation uses NanoID instead of manual ID entry or sequential numbering.",[432,444,446],{"id":445},"dashboard-interface","Dashboard Interface",[18,448,449,450,454],{},"The example uses Node-RED Dashboard 2.0 for the user interface. Follow the ",[88,451,453],{"href":452},"\u002Fblog\u002F2024\u002F03\u002Fdashboard-getting-started\u002F","Dashboard setup instructions"," to install and configure the dashboard nodes.",[33,456,458],{"id":457},"creating-customer-records","Creating Customer Records",[104,460,461,464],{},[44,462,463],{},"Add a ui-form widget to the canvas",[44,465,466,467,470,471,470,474,470,477,470,480,470,483,486,487],{},"Configure form elements for ",[119,468,469],{},"firstname",", ",[119,472,473],{},"lastname",[119,475,476],{},"email",[119,478,479],{},"phone",[119,481,482],{},"company",[119,484,485],{},"status",", and ",[119,488,489],{},"source",[18,491,492],{},[66,493],{"alt":494,"dataZoomable":12,"src":495,"title":496},"\"Screenshot displaying form widget configuration to insert data in MongoDB\"","\u002Fnode-red-media\u002Fdatabase\u002Fimages\u002Fusing-mongodb-with-node-red-insert-data-form.png","Screenshot displaying form widget configuration to insert data in MongoDB",[104,498,499,502,505],{"start":286},[44,500,501],{},"Add a friendly-id node",[44,503,504],{},"Configure it to generate a random ID with your preferred length",[44,506,507,508],{},"Set output destination to ",[119,509,510],{},"msg.payload._id",[18,512,513],{},[66,514],{"alt":515,"dataZoomable":12,"src":516,"title":517},"\"Screenshot displaying friend-id node configuration\"","\u002Fnode-red-media\u002Fdatabase\u002Fimages\u002Fusing-mongodb-with-node-red-friend-id-node.png","Screenshot displaying friend-id node configuration",[104,519,520,523,534],{"start":325},[44,521,522],{},"Add a change node",[44,524,525,526,529,530,533],{},"Set ",[119,527,528],{},"msg.payload"," to ",[119,531,532],{},"[msg.payload]"," using JSONata expression type",[44,535,536],{},"This wraps the payload in an array as required by the insertOne operation",[18,538,539],{},[66,540],{"alt":541,"dataZoomable":12,"src":542,"title":543},"\"Screenshot displaying change node setting payload containing data that needs to be inserted in the database.\"","\u002Fnode-red-media\u002Fdatabase\u002Fimages\u002Fusing-mongodb-with-node-red-change-node-to-insert-data.png","Screenshot displaying change node setting payload containing data that needs to be inserted in the database.",[104,545,546],{"start":364},[44,547,548,549],{},"Configure the MongoDB4 node:\n",[41,550,551,554,557],{},[44,552,553],{},"Select the previously configured connection",[44,555,556],{},"Set collection name to \"customers\"",[44,558,559],{},"Set operation to \"insertOne\"",[18,561,562],{},[66,563],{"alt":564,"dataZoomable":12,"src":565,"title":566},"\"Screenshot displaying configuration of MongoDB 4 node for inserting data\"","\u002Fnode-red-media\u002Fdatabase\u002Fimages\u002Fusing-mongodb-with-node-red-mongodb-insertone-node-configuration.png","Screenshot displaying configuration of MongoDB 4 node for inserting data",[104,568,569],{"start":375},[44,570,571],{},"Wire the nodes as shown:",[18,573,574],{},[66,575],{"alt":576,"dataZoomable":12,"src":577,"title":578},"\"Screenshot displaying connections of wires in the 'Insert Data into Database' flow\"","\u002Fnode-red-media\u002Fdatabase\u002Fimages\u002Fusing-mongodb-with-node-red-mongodb-insertone-flow.png","Screenshot displaying connections of wires in the 'Insert Data into Database' flow",[33,580,582],{"id":581},"retrieving-customer-records","Retrieving Customer Records",[104,584,585,588,594,597,600],{},[44,586,587],{},"Add an inject node",[44,589,590,591],{},"Configure it to send an empty object ",[119,592,593],{},"{}",[44,595,596],{},"Set the node to repeat at your preferred interval for automatic table updates",[44,598,599],{},"Add a MongoDB4 node",[44,601,602],{},"Select your connection and set operation to \"find\"",[18,604,605],{},[66,606],{"alt":607,"dataZoomable":12,"src":608,"title":609},"\"Screenshot displaying configuration of MongoDB 4 node for retrieving data\"","\u002Fnode-red-media\u002Fdatabase\u002Fimages\u002Fusing-mongodb-with-node-red-mongodb-find-node-configuration.png","Screenshot displaying configuration of MongoDB 4 node for retrieving data",[104,611,612,615],{"start":325},[44,613,614],{},"Add a ui-table widget",[44,616,617],{},"Configure the maximum rows according to your requirements",[18,619,620],{},[66,621],{"alt":622,"dataZoomable":12,"src":623,"title":624},"\"Screenshot displaying ui-table widget configuration\"","\u002Fnode-red-media\u002Fdatabase\u002Fimages\u002Fusing-mongodb-with-node-red-table-widget.png","Screenshot displaying ui-table widget configuration",[104,626,627],{"start":351},[44,628,571],{},[18,630,631],{},[66,632],{"alt":633,"dataZoomable":12,"src":634,"title":70},"\"Screenshot displaying connections of wires in the 'Retrive Data from Database' flow\"","\u002Fnode-red-media\u002Fdatabase\u002Fimages\u002Fusing-mongodb-with-node-red-mongodb-find-flow.png",[33,636,638],{"id":637},"updating-customer-records","Updating Customer Records",[104,640,641],{},[44,642,643],{},"Add a ui-form widget with fields for \"id\" and \"status\"",[18,645,646],{},[66,647],{"alt":648,"dataZoomable":12,"src":495,"title":649},"\"Screenshot displaying form widget configuration to update data in MongoDB\"","Screenshot displaying form widget configuration to update data in MongoDB",[104,651,652,654],{"start":269},[44,653,522],{},[44,655,525,656,658],{},[119,657,528],{}," to the following JSON structure:",[251,660,662],{"className":253,"code":661,"language":255,"meta":12,"style":12},"[\n  { \"_id\": msg.payload._id },\n  { \"$set\": { \"status\": msg.payload.status } }\n]\n",[119,663,664,669,685,706],{"__ignoreMap":12},[259,665,666],{"class":261,"line":262},[259,667,668],{"class":265},"[\n",[259,670,671,674,677,679,682],{"class":261,"line":269},[259,672,673],{"class":265},"  { ",[259,675,676],{"class":272},"\"_id\"",[259,678,276],{"class":265},[259,680,510],{"class":681},"s7hpK",[259,683,684],{"class":265}," },\n",[259,686,687,689,692,695,698,700,703],{"class":261,"line":286},[259,688,673],{"class":265},[259,690,691],{"class":272},"\"$set\"",[259,693,694],{"class":265},": { ",[259,696,697],{"class":272},"\"status\"",[259,699,276],{"class":265},[259,701,702],{"class":681},"msg.payload.status",[259,704,705],{"class":265}," } }\n",[259,707,708],{"class":261,"line":299},[259,709,710],{"class":265},"]\n",[18,712,713,714,717],{},"The first object specifies the query criteria (which document to update). The second object defines the update operation using MongoDB's ",[119,715,716],{},"$set"," operator.",[18,719,720],{},[66,721],{"alt":722,"dataZoomable":12,"src":723,"title":724},"\"Screenshot displaying the change node setting payload as an array containing a query and operation to perform an update operation in the database\"","\u002Fnode-red-media\u002Fdatabase\u002Fimages\u002Fusing-mongodb-with-node-red-change-node-to-update-data.png","Screenshot displaying the change node setting payload as an array containing a query and operation to perform an update operation in the database",[104,726,727],{"start":299},[44,728,729],{},"Add a MongoDB4 node and set operation to \"updateOne\"",[18,731,732],{},[66,733],{"alt":734,"dataZoomable":12,"src":735,"title":736},"\"Screenshot displaying configuration of MongoDB 4 node for updating data\"","\u002Fnode-red-media\u002Fdatabase\u002Fimages\u002Fusing-mongodb-with-node-red-mongodb-update-node-configuration.png","Screenshot displaying configuration of MongoDB 4 node for updating data",[104,738,739],{"start":312},[44,740,571],{},[18,742,743],{},[66,744],{"alt":745,"dataZoomable":12,"src":746,"title":747},"\"Screenshot displaying connections of wires in the 'Update Data from Database' flow\"","\u002Fnode-red-media\u002Fdatabase\u002Fimages\u002Fusing-mongodb-with-node-red-mongodb-updateone-flow.png","Screenshot displaying connections of wires in the 'Update Data from Database' flow",[33,749,751],{"id":750},"deleting-customer-records","Deleting Customer Records",[104,753,754],{},[44,755,756],{},"Add a ui-form widget with fields for \"id\" and \"firstname\"",[18,758,759],{},[66,760],{"alt":761,"dataZoomable":12,"src":762,"title":763},"\"Screenshot displaying form widget configuration to delete data in MongoDB\"","\u002Fnode-red-media\u002Fdatabase\u002Fimages\u002Fusing-mongodb-with-node-red-delete-data-form.png","Screenshot displaying form widget configuration to delete data in MongoDB",[104,765,766,768],{"start":269},[44,767,522],{},[44,769,525,770,772],{},[119,771,528],{}," to the following structure:",[251,774,776],{"className":253,"code":775,"language":255,"meta":12,"style":12},"[\n  {\n    \"_id\": msg.payload._id,\n    \"firstname\": msg.payload.firstname\n  },\n  {\n    \"$delete\": \"\"\n  }\n]\n",[119,777,778,782,787,798,808,813,817,827,832],{"__ignoreMap":12},[259,779,780],{"class":261,"line":262},[259,781,668],{"class":265},[259,783,784],{"class":261,"line":269},[259,785,786],{"class":265},"  {\n",[259,788,789,792,794,796],{"class":261,"line":286},[259,790,791],{"class":272},"    \"_id\"",[259,793,276],{"class":265},[259,795,510],{"class":681},[259,797,283],{"class":265},[259,799,800,803,805],{"class":261,"line":299},[259,801,802],{"class":272},"    \"firstname\"",[259,804,276],{"class":265},[259,806,807],{"class":681},"msg.payload.firstname\n",[259,809,810],{"class":261,"line":312},[259,811,812],{"class":265},"  },\n",[259,814,815],{"class":261,"line":325},[259,816,786],{"class":265},[259,818,819,822,824],{"class":261,"line":338},[259,820,821],{"class":272},"    \"$delete\"",[259,823,276],{"class":265},[259,825,826],{"class":279},"\"\"\n",[259,828,829],{"class":261,"line":351},[259,830,831],{"class":265},"  }\n",[259,833,834],{"class":261,"line":364},[259,835,710],{"class":265},[18,837,838],{},"The query includes both ID and firstname to provide additional verification before deletion.",[18,840,841],{},[66,842],{"alt":843,"dataZoomable":12,"src":844,"title":845},"\"Screenshot displaying the change node setting payload as an array containing a query and operation to perform an delete operation in the database\"","\u002Fnode-red-media\u002Fdatabase\u002Fimages\u002Fusing-mongodb-with-node-red-change-node-to-delete-data.png","Screenshot displaying the change node setting payload as an array containing a query and operation to perform an delete operation in the database",[104,847,848],{"start":299},[44,849,850],{},"Add a MongoDB4 node and set operation to \"deleteOne\"",[18,852,853],{},[66,854],{"alt":855,"dataZoomable":12,"src":735,"title":856},"\"Screenshot displaying configuration of MongoDB 4 node for deleting data\"","Screenshot displaying configuration of MongoDB 4 node for deleting data",[104,858,859],{"start":312},[44,860,571],{},[18,862,863],{},[66,864],{"alt":865,"dataZoomable":12,"src":746,"title":866},"\"Screenshot displaying connections of wires in the 'Delete Data from Database' flow\"","Screenshot displaying connections of wires in the 'Delete Data from Database' flow",[33,868,870],{"id":869},"removing-collections","Removing Collections",[104,872,873,876,878,881],{},[44,874,875],{},"Add an inject node configured to send an empty object",[44,877,599],{},[44,879,880],{},"Specify the collection name to remove",[44,882,883],{},"Set operation to \"drop\"",[18,885,886],{},[66,887],{"alt":888,"dataZoomable":12,"src":889,"title":890},"\"Screenshot displaying configuration of MongoDB4 node for droping collection from database\"","\u002Fnode-red-media\u002Fdatabase\u002Fimages\u002Fusing-mongodb-with-node-red-mongodb-drop-node-configuration.png","Screenshot displaying configuration of MongoDB4 node for droping collection from database",[104,892,893],{"start":312},[44,894,571],{},[18,896,897],{},[66,898],{"alt":899,"dataZoomable":12,"src":900,"title":901},"\"Screenshot displaying connections of wires in the 'Drop collecton from Database' flow\"","\u002Fnode-red-media\u002Fdatabase\u002Fimages\u002Fusing-mongodb-with-node-red-mongodb-drop-flow.png","Screenshot displaying connections of wires in the 'Drop collecton from Database' flow",[22,903,905],{"id":904},"verification-and-troubleshooting","Verification and Troubleshooting",[18,907,908],{},"Connect a debug node to the output of any MongoDB4 node to monitor operation results and diagnose errors. The following examples show successful operation responses:",[33,910,912],{"id":911},"operation-response-messages","Operation Response Messages",[251,914,918],{"className":915,"code":916,"language":917,"meta":12,"style":12},"language-js shiki shiki-themes github-light github-dark","\u002F\u002F Insert operation\n{\n  \"acknowledged\": true,\n  \"insertedId\": \"BKoIzMuW\"\n}\n\n\u002F\u002F Update operation\n{\n  \"acknowledged\": true,\n  \"modifiedCount\": 1,\n  \"upsertedId\": null,\n  \"upsertedCount\": 0,\n  \"matchedCount\": 1\n}\n\n\u002F\u002F Delete operation\n{\n  \"acknowledged\": true,\n  \"deletedCount\": 1\n}\n\n\u002F\u002F Drop operation returns boolean true\n","js",[119,919,920,926,930,942,952,956,962,967,971,981,993,1006,1019,1030,1035,1040,1046,1051,1062,1072,1077,1082],{"__ignoreMap":12},[259,921,922],{"class":261,"line":262},[259,923,925],{"class":924},"sJ8bj","\u002F\u002F Insert operation\n",[259,927,928],{"class":261,"line":269},[259,929,266],{"class":265},[259,931,932,935,937,940],{"class":261,"line":286},[259,933,934],{"class":279},"  \"acknowledged\"",[259,936,276],{"class":265},[259,938,939],{"class":272},"true",[259,941,283],{"class":265},[259,943,944,947,949],{"class":261,"line":299},[259,945,946],{"class":279},"  \"insertedId\"",[259,948,276],{"class":265},[259,950,951],{"class":279},"\"BKoIzMuW\"\n",[259,953,954],{"class":261,"line":312},[259,955,378],{"class":265},[259,957,958],{"class":261,"line":325},[259,959,961],{"emptyLinePlaceholder":960},true,"\n",[259,963,964],{"class":261,"line":338},[259,965,966],{"class":924},"\u002F\u002F Update operation\n",[259,968,969],{"class":261,"line":351},[259,970,266],{"class":265},[259,972,973,975,977,979],{"class":261,"line":364},[259,974,934],{"class":279},[259,976,276],{"class":265},[259,978,939],{"class":272},[259,980,283],{"class":265},[259,982,983,986,988,991],{"class":261,"line":375},[259,984,985],{"class":279},"  \"modifiedCount\"",[259,987,276],{"class":265},[259,989,990],{"class":272},"1",[259,992,283],{"class":265},[259,994,996,999,1001,1004],{"class":261,"line":995},11,[259,997,998],{"class":279},"  \"upsertedId\"",[259,1000,276],{"class":265},[259,1002,1003],{"class":272},"null",[259,1005,283],{"class":265},[259,1007,1009,1012,1014,1017],{"class":261,"line":1008},12,[259,1010,1011],{"class":279},"  \"upsertedCount\"",[259,1013,276],{"class":265},[259,1015,1016],{"class":272},"0",[259,1018,283],{"class":265},[259,1020,1022,1025,1027],{"class":261,"line":1021},13,[259,1023,1024],{"class":279},"  \"matchedCount\"",[259,1026,276],{"class":265},[259,1028,1029],{"class":272},"1\n",[259,1031,1033],{"class":261,"line":1032},14,[259,1034,378],{"class":265},[259,1036,1038],{"class":261,"line":1037},15,[259,1039,961],{"emptyLinePlaceholder":960},[259,1041,1043],{"class":261,"line":1042},16,[259,1044,1045],{"class":924},"\u002F\u002F Delete operation\n",[259,1047,1049],{"class":261,"line":1048},17,[259,1050,266],{"class":265},[259,1052,1054,1056,1058,1060],{"class":261,"line":1053},18,[259,1055,934],{"class":279},[259,1057,276],{"class":265},[259,1059,939],{"class":272},[259,1061,283],{"class":265},[259,1063,1065,1068,1070],{"class":261,"line":1064},19,[259,1066,1067],{"class":279},"  \"deletedCount\"",[259,1069,276],{"class":265},[259,1071,1029],{"class":272},[259,1073,1075],{"class":261,"line":1074},20,[259,1076,378],{"class":265},[259,1078,1080],{"class":261,"line":1079},21,[259,1081,961],{"emptyLinePlaceholder":960},[259,1083,1085],{"class":261,"line":1084},22,[259,1086,1087],{"class":924},"\u002F\u002F Drop operation returns boolean true\n",[33,1089,1091],{"id":1090},"deployment","Deployment",[18,1093,1094],{},[66,1095],{"alt":1096,"dataZoomable":12,"src":1097,"title":1098},"\"Screenshot displaying flow of CRM System\"","\u002Fnode-red-media\u002Fdatabase\u002Fimages\u002Fusing-mongodb-with-node-red-crm-system-node-red-flow.png","Screenshot displaying flow of CRM System",[104,1100,1101,1104,1107,1110],{},[44,1102,1103],{},"Deploy the flow using the Deploy button",[44,1105,1106],{},"Open the dashboard using the button in the Dashboard 2.0 sidebar",[44,1108,1109],{},"Use inject nodes for retrieval and drop operations",[44,1111,1112],{},"Use the forms for create, update, and delete operations",[18,1114,1115],{},[66,1116],{"alt":1117,"dataZoomable":12,"src":1118,"title":1119},"\"Screenshot displaying dashboard view of CRM System\"","\u002Fnode-red-media\u002Fdatabase\u002Fimages\u002Fusing-mongodb-with-node-red-crm-system-node-red-dashboard-view.png","Screenshot displaying dashboard view of CRM System",[1121,1122,1123],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s7hpK, html code.shiki .s7hpK{--shiki-default:#B31D28;--shiki-default-font-style:italic;--shiki-dark:#FDAEB7;--shiki-dark-font-style:italic}html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}",{"title":12,"searchDepth":269,"depth":269,"links":1125},[1126,1129,1130,1136,1146],{"id":24,"depth":269,"text":25,"children":1127},[1128],{"id":35,"depth":286,"text":36},{"id":73,"depth":269,"text":74},{"id":97,"depth":269,"text":98,"children":1131},[1132,1133,1134,1135],{"id":101,"depth":286,"text":102},{"id":127,"depth":286,"text":128},{"id":174,"depth":286,"text":175},{"id":210,"depth":286,"text":211},{"id":238,"depth":269,"text":239,"children":1137},[1138,1139,1140,1141,1142,1143,1144,1145],{"id":245,"depth":286,"text":246},{"id":381,"depth":286,"text":382},{"id":429,"depth":286,"text":430},{"id":457,"depth":286,"text":458},{"id":581,"depth":286,"text":582},{"id":637,"depth":286,"text":638},{"id":750,"depth":286,"text":751},{"id":869,"depth":286,"text":870},{"id":904,"depth":269,"text":905,"children":1147},[1148,1149],{"id":911,"depth":286,"text":912},{"id":1090,"depth":286,"text":1091},"Learn how to seamlessly integrate MongoDB, a NoSQL database, into your Node-RED applications with this step-by-step documentation.","md",{},"\u002Fnode-red\u002Fdatabase\u002Fmongodb",{"title":5,"description":1150},"node-red\u002Fdatabase\u002Fmongodb","dhpNxQWmdYXC_WDtbHhY2oda_bOkUVRubVhMEVps8fM",1780070556405]