chunk_id
stringlengths
26
26
page_id
stringlengths
24
24
source_name
stringclasses
50 values
product_name
stringclasses
46 values
url
stringlengths
31
126
title
stringlengths
3
78
text
stringlengths
22
8k
embedding
listlengths
1.02k
1.02k
696b29eb455b28a12b3b39ad-0
696b29eb455b28a12b3b39ad
kotlin
Kotlin Coroutine Driver
https://mongodb.com/docs/drivers/kotlin/coroutine/current/connect/connection-options/network-compression
Compress Network Traffic
# Compress Network Traffic ## Overview MongoDB drivers can compress the messages sent to and received from MongoDB server. This reduces the amount of data transferred for each operation. Compression can improve performance over constrained networks and lower the data transfer costs associated with running MongoDB Atl...
[ -0.027004733681678772, 0.008705787360668182, 0.004375048913061619, 0.00976894423365593, -0.004011704120784998, -0.011715367436408997, -0.0171818770468235, 0.06719519942998886, -0.03613852709531784, -0.006083414424210787, -0.050603237003088, -0.025247856974601746, -0.013126612640917301, -0....
695ca9502d5be1431b31842d-0
695ca9502d5be1431b31842d
kotlin
Kotlin Coroutine Driver
https://mongodb.com/docs/drivers/kotlin/coroutine/current/logging-monitoring/monitoring
Monitoring
# Monitoring ## Overview In this guide, you can learn how to set up and configure **monitoring** in the MongoDB Kotlin driver. Monitoring is the process of getting information about the activities a running program performs for use in an application or an application performance management library. Monitoring the M...
[ -0.027491629123687744, 0.013071401044726372, -0.013795401901006699, 0.0448969341814518, 0.0023273511324077845, -0.034916043281555176, 0.024849094450473785, 0.08928275108337402, -0.06648526340723038, -0.01740814745426178, 0.011030158028006554, -0.019729096442461014, -0.02267078310251236, -0...
695ca9502d5be1431b31842d-1
695ca9502d5be1431b31842d
kotlin
Kotlin Coroutine Driver
https://mongodb.com/docs/drivers/kotlin/coroutine/current/logging-monitoring/monitoring
Monitoring
### Connection Pool Events A connection pool event is an event related to a **connection pool** held by the driver. A connection pool is a set of open TCP connections your driver maintains with a MongoDB instance. Connection pools help reduce the number of network handshakes your application needs to perform with a Mo...
[ -0.03689311444759369, -0.010222621262073517, 0.02860286273062229, 0.04039924591779709, -0.0020119042601436377, -0.04358171671628952, -0.001125799841247499, 0.060686077922582626, -0.062451399862766266, -0.05411411449313164, 0.04939252510666847, -0.0024983000475913286, -0.044944632798433304, ...
68d23bc6530172e0e12645e2-0
68d23bc6530172e0e12645e2
kotlin-sync
Kotlin Sync Driver
https://mongodb.com/docs/languages/kotlin/kotlin-sync-driver/current/connect/connection-troubleshooting
Connection Troubleshooting
# Connection Troubleshooting This page addresses only connection issues. If you encounter other issues when using MongoDB or the driver, visit the following resources: - The Issues & Help page for information about reporting bugs, contributing to the driver, and finding more resources - The MongoDB Stack Overflow pa...
[ -0.032327160239219666, 0.008023443631827831, 0.014524751342833042, 0.0626903772354126, -0.002539796521887183, -0.05697941407561302, -0.007457398809492588, 0.053276427090168, -0.025040460750460625, 0.000060208156355656683, -0.0043953037820756435, 0.02661702036857605, -0.032604996114969254, ...
68d23bc6530172e0e12645e2-1
68d23bc6530172e0e12645e2
kotlin-sync
Kotlin Sync Driver
https://mongodb.com/docs/languages/kotlin/kotlin-sync-driver/current/connect/connection-troubleshooting
Connection Troubleshooting
### Check Database Deployment Availability If you are connecting to MongoDB Atlas and your driver cannot find the DNS host of the Atlas database deployment, the database deployment might be paused or deleted. Ensure that the database deployment exists in Atlas. If the cluster is paused, you can resume the cluster in ...
[ -0.029539335519075394, 0.009600530378520489, 0.03225233778357506, 0.05038423091173172, 0.018143702298402786, -0.002706320257857442, 0.015722444280982018, 0.035947516560554504, -0.028226828202605247, -0.01763192191720009, -0.019904552027583122, 0.043031301349401474, 0.005622695200145245, -0...
68d23bc6530172e0e126462b-0
68d23bc6530172e0e126462b
kotlin-sync
Kotlin Sync Driver
https://mongodb.com/docs/languages/kotlin/kotlin-sync-driver/current/security/authentication/aws-iam
AWS IAM Authentication
# AWS IAM Authentication ## Overview The **MONGODB-AWS** authentication mechanism uses Amazon Web Services Identity and Access Management (AWS IAM) credentials to authenticate a user to MongoDB. You can use this mechanism only when authenticating to MongoDB Atlas. To learn more about configuring MongoDB Atlas for AW...
[ -0.005807946436107159, 0.0026829144917428493, 0.04208069667220116, -0.001623251591809094, -0.008323094807565212, -0.051110170781612396, 0.008317527361214161, 0.04349450767040253, -0.038143567740917206, -0.009660584852099419, -0.039066411554813385, -0.014663594774901867, -0.019059687852859497...
68d23bc6530172e0e126462b-1
68d23bc6530172e0e126462b
kotlin-sync
Kotlin Sync Driver
https://mongodb.com/docs/languages/kotlin/kotlin-sync-driver/current/security/authentication/aws-iam
AWS IAM Authentication
### Specify Your Credentials in a MongoCredential You can supply your AWS IAM credentials to a `MongoClient` by using a `MongoCredential` instance. To construct the `MongoCredential` instance for `MONGODB-AWS` authentication, call the createAwsCredential() factory method. You can supply only programmatic access keys ...
[ -0.012480546720325947, 0.005076140630990267, 0.040346354246139526, -0.001562971156090498, -0.013961627148091793, -0.049875929951667786, -0.01175778079777956, 0.04151999205350876, -0.027737244963645935, -0.020810183137655258, -0.024897295981645584, -0.016856005415320396, -0.031360480934381485...
68d23bc6530172e0e1264611-0
68d23bc6530172e0e1264611
kotlin-sync
Kotlin Sync Driver
https://mongodb.com/docs/languages/kotlin/kotlin-sync-driver/current/crud/update
Update Documents
# Update Documents ## Overview In this guide, you can learn how to use the Kotlin Sync driver to update documents in a MongoDB collection by using the `updateOne()` and `updateMany()` methods. ### Sample Data The examples in this guide use the `sample_restaurants.restaurants` collection from the Atlas sample datase...
[ -0.020302029326558113, -0.023663900792598724, 0.01995014026761055, 0.04053942486643791, 0.005419690627604723, -0.015423434786498547, -0.02762867882847786, 0.03612687438726425, -0.0014855221379548311, -0.011917651630938053, -0.02264976315200329, -0.016016846522688866, -0.028807170689105988, ...
68d23bc6530172e0e1264632-0
68d23bc6530172e0e1264632
kotlin-sync
Kotlin Sync Driver
https://mongodb.com/docs/languages/kotlin/kotlin-sync-driver/current/security/authentication/kerberos
Kerberos (GSSAPI) Authentication
# Kerberos (GSSAPI) Authentication ## Overview The Generic Security Services API (`GSSAPI`) authentication mechanism allows you to authenticate to a Kerberos service by specifying your Kerberos principal name. The page refers to the `GSSAPI` authentication mechanism instead of `Kerberos` because the driver authentic...
[ -0.008229779079556465, -0.010019545443356037, 0.015070976689457893, 0.015256759710609913, 0.0018235970055684447, -0.0410812608897686, 0.008597027510404587, 0.05240144580602646, -0.013820511288940907, 0.0009920400334522128, -0.020933320745825768, -0.007850641384720802, -0.02388843521475792, ...
68d23bc6530172e0e1264604-0
68d23bc6530172e0e1264604
kotlin-sync
Kotlin Sync Driver
https://mongodb.com/docs/languages/kotlin/kotlin-sync-driver/current/crud/query/specify-a-query
Specify a Query
# Specify a Query ## Overview In this guide, you can learn how to specify a query by using the Kotlin Sync driver. You can refine the set of documents that a query returns by creating a **query filter**. A query filter is an expression that specifies the search criteria MongoDB uses to match documents in a read or w...
[ -0.016685588285326958, -0.01322805043309927, -0.004799950867891312, -0.0024940664879977703, -0.015133828856050968, 0.015163209289312363, 0.021107034757733345, 0.03921039029955864, 0.021553250029683113, -0.013652779161930084, -0.03291621059179306, -0.004775012843310833, -0.010170585475862026,...
68d23bc6530172e0e1264604-1
68d23bc6530172e0e1264604
kotlin-sync
Kotlin Sync Driver
https://mongodb.com/docs/languages/kotlin/kotlin-sync-driver/current/crud/query/specify-a-query
Specify a Query
## Evaluation Operators Evaluation operators return data based on evaluations of either individual fields or the entire collection's documents. The following is a list of common evaluation operators: - `$text`, which performs a text search on the documents - `$regex`, which returns documents that match a specified ...
[ -0.015912387520074844, -0.029982175678014755, -0.01863574981689453, 0.030966905876994133, 0.015836888924241066, 0.005807964596897364, 0.015174982137978077, 0.039121437817811966, -0.005674952175468206, -0.038899388164281845, -0.0340154729783535, 0.008268910460174084, -0.020679481327533722, ...
68d23bc6530172e0e12645d9-0
68d23bc6530172e0e12645d9
kotlin-sync
Kotlin Sync Driver
https://mongodb.com/docs/languages/kotlin/kotlin-sync-driver/current/connect/connection-options/server-selection
Customize Server Selection
# Customize Server Selection ## Overview All MongoDB drivers follow a defined algorithm when selecting a server to read or write from. By using the `ClusterSettings` property of a `MongoClientSettings` object, you can customize this algorithm to choose the server that works best for your application. Customizing the...
[ -0.028620390221476555, 0.017167245969176292, 0.006187127903103828, -0.006397361401468515, -0.005898545496165752, -0.05205462500452995, -0.010728031396865845, 0.0291593000292778, 0.005020936485379934, -0.0007321183802559972, -0.025925740599632263, 0.04314076527953148, -0.011887012049555779, ...
68a95c175e79d242619dc787-0
68a95c175e79d242619dc787
kotlin-sync
Kotlin Sync Driver
https://mongodb.com/docs/languages/kotlin/kotlin-sync-driver/current/builders/builders-data-classes
Use Builders with Data Classes
# Use Builders with Data Classes ## Overview In this guide, you can learn how to use your Data Class properties directly with the builder classes available in the Kotlin Sync driver. The Kotlin Sync driver implements extensions that allow you to reference your data class properties when using builder methods instead...
[ -0.005601963493973017, -0.016499783843755722, 0.017267094925045967, 0.012669987045228481, -0.015518225729465485, -0.015184874646365643, -0.016752298921346664, 0.06931983679533005, -0.025429368019104004, -0.007571471389383078, -0.05957205221056938, -0.026886340230703354, -0.03103833645582199,...
68d23bc6530172e0e1264631-0
68d23bc6530172e0e1264631
kotlin-sync
Kotlin Sync Driver
https://mongodb.com/docs/languages/kotlin/kotlin-sync-driver/current/security/authentication/ldap
LDAP (PLAIN) Authentication
# LDAP (PLAIN) Authentication ## Overview You can authenticate to a Lightweight Directory Access Protocol (LDAP) server by using your directory server username and password. The authentication mechanism is named `PLAIN` instead of `LDAP` because the driver authenticates by using the `PLAIN` Simple Authentication and...
[ -0.005880490876734257, -0.004395239520817995, 0.018375154584646225, 0.0025415795389562845, -0.00419282354414463, -0.0517309196293354, -0.02190762758255005, 0.042011599987745285, 0.02830059640109539, 0.00843642558902502, -0.007989918813109398, -0.019008565694093704, -0.018276868388056755, -...
68a95c175e79d242619dc7cd-0
68a95c175e79d242619dc7cd
kotlin-sync
Kotlin Sync Driver
https://mongodb.com/docs/languages/kotlin/kotlin-sync-driver/current/issues-and-help
Report Issues & Request Help
# Report Issues & Request Help In this guide, you can learn how to report issues, suggest new features, and contribute to the Kotlin Sync driver. You can find support for general questions by using the MongoDB Stack Overflow tag or the MongoDB Reddit community. ## Bugs / Feature Requests If you have feedback about ...
[ 0.0033238606993108988, -0.0030749209690839052, 0.027272440493106842, 0.018742090091109276, 0.017159556970000267, -0.010823857970535755, 0.01542695239186287, 0.05192799121141434, -0.024121001362800598, -0.0010280025890097022, 0.01780742034316063, 0.05274464562535286, -0.05318981409072876, -...
68d23bc6530172e0e1264606-0
68d23bc6530172e0e1264606
kotlin-sync
Kotlin Sync Driver
https://mongodb.com/docs/languages/kotlin/kotlin-sync-driver/current/crud/query/specify-documents-to-return
Specify Documents to Return
# Specify Documents to Return ## Overview In this guide, you can learn how to specify which documents to return from a read operation by using the following methods: - `limit()`: Specifies the maximum number of documents to return from a query - `sort()`: Specifies the sort order for the returned documents - `skip...
[ -0.03311246261000633, -0.0257958322763443, -0.009755061008036137, 0.0017376304604113102, -0.006197277922183275, 0.009657558053731918, -0.01519222091883421, 0.04282784089446068, 0.025068014860153198, -0.017717644572257996, 0.022104525938630104, 0.025125589221715927, -0.02411828376352787, -0...
68a95c185e79d242619dca49-0
68a95c185e79d242619dca49
landing
null
https://mongodb.com/docs/languages/php
MongoDB with PHP
# MongoDB with PHP Build PHP applications with MongoDB's Atlas cloud database. Utilize PHP drivers, MongoDB integrations with Laravel and Symfony, Doctrine ODM, and other developer tools for seamless integration with your PHP applications. ## Drivers The MongoDB PHP Driver consists of the extension and library. Whil...
[ -0.020871872082352638, -0.0032701825257390738, -0.00902931671589613, 0.026272321119904518, 0.05627403035759926, -0.059740807861089706, 0.004912020172923803, 0.03700849786400795, -0.011013497598469257, -0.04596734419465065, -0.03622124716639519, -0.018892012536525726, -0.009711837396025658, ...
69cb67f136a2a5baa36ab908-0
69cb67f136a2a5baa36ab908
landing
null
https://mongodb.com/docs/gemini
MongoDB with Gemini
# MongoDB with Gemini You can use MongoDB with Gemini through the official MongoDB Gemini Extension. The MongoDB Gemini Extension provides: - The MongoDB MCP Server - Pre-built agent skills for common MongoDB tasks. See the MongoDB Agent Skills documentation for more information. ## Install the MongoDB Gemini Exte...
[ -0.010741900652647018, -0.023420602083206177, 0.02961128205060959, -0.016816606745123863, 0.04293506219983101, -0.02545095980167389, 0.03676639497280121, 0.022216077893972397, -0.031354568898677826, 0.0032221428118646145, -0.008560053072869778, 0.0046690390445292, -0.019205035641789436, -0...
68a95c185e79d242619dca60-0
68a95c185e79d242619dca60
landing
null
https://mongodb.com/docs/preview-features
Preview Features
# Preview Features Products and features that we offer as private or public previews (or any other type of beta stage) are only for internal evaluation by our end users. Use these experimental features in isolated development environments only, never in production systems or with critical data. ## Technical Considera...
[ -0.032315317541360855, -0.03621460497379303, -0.008839001879096031, -0.013631420210003853, 0.02336154505610466, 0.017604464665055275, -0.012149975635111332, 0.08139699697494507, -0.015942953526973724, -0.02576320990920067, -0.03127564489841461, 0.028545478358864784, -0.03527464717626572, -...
68a95c185e79d242619dca33-0
68a95c185e79d242619dca33
landing
null
https://mongodb.com/docs/generative-ai-faq
Generative AI FAQs
# Generative AI FAQs Last Updated: 30 October, 2025 ## What GenAI Features Does MongoDB Currently Offer? MongoDB offers various generative AI (GenAI) capabilities in its products and services, including within Atlas and in its software products. For example, in MongoDB Compass and Charts, Atlas users can leverage n...
[ -0.015865657478570938, -0.02652161568403244, 0.0205332450568676, 0.04162316024303436, 0.012020682916045189, -0.03864467144012451, 0.008855202235281467, 0.04773576557636261, -0.0379711277782917, -0.02592889778316021, -0.018273504450917244, -0.02494126558303833, 0.0009746989235281944, -0.016...
68a95c185e79d242619dca4b-0
68a95c185e79d242619dca4b
landing
null
https://mongodb.com/docs/legacy
Legacy Documentation
# Legacy Documentation MongoDB recommends that you upgrade products to the most recent version so that you can use the most up-to-date documentation. MongoDB documents supported product versions through MongoDB Documentation. If you cannot upgrade to a supported version, MongoDB provides legacy documentation for vers...
[ -0.03389964625239372, 0.00198728172108531, -0.014799023978412151, 0.03213030472397804, 0.02513602375984192, 0.03263287991285324, -0.04164808243513107, 0.05448295176029205, -0.01450627762824297, -0.0072968024760484695, -0.023368999361991882, -0.001633738400414586, -0.0153837064281106, -0.03...
68a95c185e79d242619dca53-0
68a95c185e79d242619dca53
landing
null
https://mongodb.com/docs/languages/python
MongoDB with Python
# MongoDB with Python Build cutting-edge applications with Python and MongoDB, from dynamic modern web applications to Gen-AI systems and data science projects. MongoDB's scalable cloud database infrastructure ensures your solutions are robust and optimized for performance. As of May 14, 2025, Motor is deprecated in ...
[ -0.04465518519282341, 0.01912703737616539, -0.02035677060484886, 0.06686443090438843, 0.017663121223449707, -0.024612655863165855, 0.04051318019628525, 0.042127981781959534, 0.02979648858308792, -0.03898325189948082, 0.015115570276975632, -0.00688532367348671, -0.03609142452478409, -0.0475...
69cb67f136a2a5baa36ab906-0
69cb67f136a2a5baa36ab906
landing
null
https://mongodb.com/docs/agent-skills
MongoDB Agent Skills
# MongoDB Agent Skills MongoDB Agent Skills are pre-built, reusable instructions that help AI coding agents perform common MongoDB tasks efficiently. These skills provide agents with expert knowledge about MongoDB best practices, enabling them to help you build applications faster and with fewer errors. ## What are A...
[ -0.02191966213285923, 0.039652928709983826, 0.006665351334959269, -0.018359335139393806, 0.03858653083443642, -0.029223667457699776, -0.000672056688927114, 0.060349926352500916, -0.015569698996841908, 0.01047185156494379, -0.03644736483693123, 0.01116634439677, -0.034466300159692764, -0.04...
68a95c185e79d242619dca52-0
68a95c185e79d242619dca52
landing
null
https://mongodb.com/docs/languages/kotlin
MongoDB with Kotlin
# MongoDB with Kotlin Develop server-side Kotlin applications with MongoDB's Atlas cloud database. With support for both coroutine-based and synchronous development, the MongoDB Kotlin drivers support developers in building server-side applications in Kotlin that are interoperable with the JVM ecosystem. ## Drivers ...
[ -0.023218194022774696, -0.007118780631572008, -0.006619743537157774, 0.034622348845005035, 0.015662183985114098, -0.042465221136808395, 0.07065609842538834, 0.06982199847698212, -0.025171026587486267, -0.015000789426267147, -0.03204193338751793, 0.0034448395017534494, -0.026792515069246292, ...
68a95c185e79d242619dca4e-0
68a95c185e79d242619dca4e
landing
null
https://mongodb.com/docs/languages/javascript
MongoDB with JavaScript
# MongoDB with JavaScript Develop lightweight Javascript or TypeScript applications backed by a MongoDB's Atlas cloud database. Developer integrations like Prisma and Mongoose support your MERN and MEAN stack applications. MongoDB's Node.js driver is written in TypeScript and offers all the quality-of-life improvement...
[ -0.031799137592315674, -0.0012768135638907552, -0.027692902833223343, 0.03102019615471363, 0.023810777813196182, -0.033332157880067825, 0.055673856288194656, 0.046075962483882904, -0.0046828328631818295, -0.03610632196068764, -0.012232336215674877, 0.003899880452081561, -0.008981820195913315...
68a95c185e79d242619dca4f-0
68a95c185e79d242619dca4f
landing
null
https://mongodb.com/docs/languages/scala
MongoDB with Scala
# MongoDB with Scala Create high-performance and highly-scalable applications using the MongoDB Atlas cloud database. Use the MongoDB Scala driver to combine both functional and object-oriented programming styles to build fast applications for the JVM. ## Drivers Scala driver documentation → ## More ways to learn ...
[ -0.03788337484002113, -0.0004192197520751506, 0.002954804105684161, 0.03260384500026703, 0.015498997643589973, -0.035092443227767944, 0.048034749925136566, 0.05760221555829048, 0.009468531236052513, -0.035900622606277466, -0.03007163293659687, -0.0017968531465157866, -0.04475298896431923, ...
68a95c295e79d242619df30a-0
68a95c295e79d242619df30a
laravel
Laravel MongoDB
https://mongodb.com/docs/drivers/php/laravel-mongodb/current/database-collection/time-series
Time Series Collections
# Time Series Collections ## Overview In this guide, you can learn how to use the Laravel Integration to create and interact with **time series collections**. These collections store time series data, which is composed of the following components: - Measured quantity - Timestamp for the measurement - Metadata that...
[ -0.006472333334386349, -0.03452349826693535, -0.016498493030667305, 0.034325648099184036, 0.055518828332424164, -0.010239197872579098, 0.0015737850917503238, 0.045964036136865616, -0.028812751173973083, -0.009819887578487396, -0.022686203941702843, -0.015734262764453888, -0.04202685505151749...
6a912a064f25feb7b9024b89-0
6a912a064f25feb7b9024b89
laravel
Laravel MongoDB
https://mongodb.com/docs/drivers/php/laravel-mongodb/current/connect/network-compression
Compress Network Traffic
# Compress Network Traffic ## Overview MongoDB drivers can compress the messages sent to and received from MongoDB Server. This reduces the amount of data transferred for each operation. Compression can improve performance over constrained networks and lower the data transfer costs associated with running MongoDB Atl...
[ -0.014271623454988003, 0.0012336412910372019, -0.0062136584892869, 0.021908653900027275, 0.030283058062195778, -0.02507765218615532, -0.030627509579062462, 0.056214313954114914, -0.04285657778382301, -0.0033232183195650578, -0.03922212868928909, -0.03446568548679352, -0.011542563326656818, ...
6a514da3d727379c91b9f089-0
6a514da3d727379c91b9f089
laravel
Laravel MongoDB
https://mongodb.com/docs/drivers/php/laravel-mongodb/current/interact-data/query/query-logging
Enable Query Logging
# Enable Query Logging ## Overview In this guide, you can learn how to enable query logging in Laravel MongoDB. Query logging can help you debug your queries and monitor database interactions. ### Before You Get Started To run the code examples in this guide, complete the Quick Start tutorial. This tutorial provide...
[ 0.02151292935013771, -0.03411971405148506, -0.007517905440181494, 0.0653735026717186, 0.06460124254226685, -0.053885702043771744, -0.026150863617658615, 0.06299447268247604, -0.03143371269106865, -0.014815296977758408, -0.03296555206179619, -0.004960609599947929, -0.03871616721153259, -0.0...
6a514da3d727379c91b9f070-0
6a514da3d727379c91b9f070
laravel
Laravel MongoDB
https://mongodb.com/docs/drivers/php/laravel-mongodb/current/interact-data/modify
Update Documents
# Update Documents ## Overview In this guide, you can learn how to modify documents in your MongoDB collection from your Laravel application by using Laravel MongoDB. Use update operations to modify existing documents or to insert a document if none match the search criteria. You can persist changes on an instance o...
[ 0.0006542925257235765, -0.016621042042970657, 0.01342865452170372, 0.03919603303074837, 0.0616646334528923, 0.004459673073142767, -0.07208708673715591, 0.030774865299463272, -0.01735527813434601, -0.011859278194606304, 0.0011328348191455007, -0.017458105459809303, -0.05925172194838524, -0....
6a514da3d727379c91b9f070-1
6a514da3d727379c91b9f070
laravel
Laravel MongoDB
https://mongodb.com/docs/drivers/php/laravel-mongodb/current/interact-data/modify
Update Documents
### Add Values to an Array Example This section shows how to use the `push()` method to add values to an array in a MongoDB document. You can pass one or more values to add and set the optional parameter `unique` to `true` to skip adding any duplicate values in the array. The following code example shows the structure...
[ 0.019007399678230286, -0.021477030590176582, 0.014573335647583008, 0.02609347552061081, 0.03521022945642471, -0.014054435305297375, -0.05410047248005867, 0.005457350518554449, -0.01642136089503765, -0.033251259475946426, -0.015217820182442665, -0.019449949264526367, -0.0352255254983902, -0...
68a95c2a5e79d242619df339-0
68a95c2a5e79d242619df339
laravel
Laravel MongoDB
https://mongodb.com/docs/drivers/php/laravel-mongodb/current/upgrade
Upgrade Library Version
# Upgrade Library Version ## Overview On this page, you can learn how to upgrade Laravel MongoDB to a new major version. This page also includes the changes you must make to your application to upgrade your version of the Laravel Integration without losing functionality, if applicable. ## How to Upgrade Before you ...
[ -0.02041449211537838, 0.026639560237526894, -0.029589524492621422, 0.025939827784895897, 0.05378780886530876, 0.017090754583477974, -0.04289615526795387, 0.03470291942358017, -0.009098561480641365, -0.026760295033454895, -0.007751545403152704, -0.030850106850266457, -0.055573783814907074, ...
68a95c2a5e79d242619df339-1
68a95c2a5e79d242619df339
laravel
Laravel MongoDB
https://mongodb.com/docs/drivers/php/laravel-mongodb/current/upgrade
Upgrade Library Version
## Deprecations A deprecation notice indicates that a feature is scheduled for removal in a future major version. Address deprecation notices in your application before upgrading to the next major version. - Version 5.8 Deprecations ### Version 5.8 Deprecations Starting in Laravel MongoDB v5.8, the `array` cast typ...
[ -0.022954290732741356, 0.03864368423819542, -0.0072686620987951756, 0.02130659483373165, -0.002138604875653982, -0.00927557609975338, -0.04452982917428017, 0.005471689160913229, -0.021754572167992592, -0.009102162905037403, -0.0381903350353241, -0.0025012921541929245, -0.01705576293170452, ...
68a95c295e79d242619df2d7-0
68a95c295e79d242619df2d7
laravel
Laravel MongoDB
https://mongodb.com/docs/drivers/php/laravel-mongodb/current/feature-compatibility
Laravel Feature Compatibility
# Laravel Feature Compatibility ## Overview This guide describes the Laravel features that are supported by Laravel MongoDB. This page discusses Laravel version 12.x feature availability in the Laravel Integration. The following sections contain tables that describe whether individual features are available in the L...
[ -0.02114344947040081, 0.0015071439556777477, -0.03404291719198227, 0.027525611221790314, 0.04411139711737633, -0.023936079815030098, -0.045389581471681595, 0.047489017248153687, -0.014417490921914577, -0.05901790410280228, -0.04159251227974892, -0.02492428570985794, -0.05328318476676941, -...
68a95c295e79d242619df2d7-1
68a95c295e79d242619df2d7
laravel
Laravel MongoDB
https://mongodb.com/docs/drivers/php/laravel-mongodb/current/feature-compatibility
Laravel Feature Compatibility
## Eloquent Relationship Features <table> <tr> <th id="Eloquent%20Feature"> Eloquent Feature </th> <th id="Availability"> Availability </th> </tr> <tr> <td headers="Eloquent%20Feature"> Defining Relationships </td> <td headers="Availability"> ✓ </td> </tr> <tr> <td headers="Eloquent%20Feature"> Many-to-Many Relati...
[ -0.030902234837412834, -0.009686354547739029, 0.008485534228384495, 0.02801758609712124, 0.03268471360206604, -0.04603499546647072, -0.04674111679196358, 0.02929031290113926, -0.008002839982509613, -0.029364580288529396, -0.05352054163813591, -0.0044347611255943775, -0.026705188676714897, ...
68a95c295e79d242619df2fc-0
68a95c295e79d242619df2fc
laravel
Laravel MongoDB
https://mongodb.com/docs/drivers/php/laravel-mongodb/current/issues-and-help
Issues & Help
# Issues & Help In this guide, you can learn how to report issues, suggest new features, and contribute to the Laravel Integration. You can find support for general questions by using the MongoDB Stack Overflow tag or the MongoDB Reddit community. ## Bugs / Feature Requests If you find a bug or want to see a new fe...
[ 0.004392751958221197, -0.01376387383788824, 0.015781057998538017, 0.04292970150709152, 0.06391752511262894, -0.0264449343085289, -0.015000486746430397, 0.03865893557667732, -0.019911358132958412, 0.01100996509194374, 0.025833142921328545, 0.028152499347925186, -0.04061949998140335, -0.0437...
6a514da3d727379c91b9f080-0
6a514da3d727379c91b9f080
laravel
Laravel MongoDB
https://mongodb.com/docs/drivers/php/laravel-mongodb/current/interact-data/transactions
Run a Database Transaction
# Run a Database Transaction ## Overview In this guide, you can learn how to perform a **transaction** in MongoDB by using Laravel MongoDB. Transactions let you run a sequence of write operations that update the data only after the transaction is committed. If the transaction fails, the MongoDB PHP Library, which ma...
[ -0.010006946511566639, 0.016798872500658035, 0.023862067610025406, 0.03383783623576164, 0.049884289503097534, 0.000253228034125641, 0.010697503574192524, 0.036865752190351486, -0.013339025899767876, -0.010968497954308987, 0.005964300595223904, -0.01784098707139492, -0.01499827578663826, -0...
6a514da3d727379c91b9f069-0
6a514da3d727379c91b9f069
laravel
Laravel MongoDB
https://mongodb.com/docs/drivers/php/laravel-mongodb/current/interact-data/backend-service-tutorial
Build a Back End Service
# Build a Back End Service ## Overview In this tutorial, you create a simple REST back end for a front-end app by using Laravel MongoDB. The tutorial uses Laravel's built-in API routing features. ## Prerequisites Before you can start this tutorial, you need the following software installed in your development envir...
[ 0.015331058762967587, -0.0072649396024644375, 0.0020812847651541233, 0.02719704806804657, 0.06521031260490417, -0.05255236104130745, 0.000025328366973553784, 0.04579702764749527, -0.052103277295827866, -0.018152276054024696, -0.003791404888033867, -0.004722760058939457, -0.022701721638441086...
6a514da3d727379c91b9f069-1
6a514da3d727379c91b9f069
laravel
Laravel MongoDB
https://mongodb.com/docs/drivers/php/laravel-mongodb/current/interact-data/backend-service-tutorial
Build a Back End Service
### Perform operations on nested data. Laravel MongoDB offers MongoDB-specific operations for nested data. However, adding nested data is also intuitive without using the `embedsMany()` and `embedsOne()` methods. As shown in the preceding step, you can define top-level schema attributes. However, it is more complicat...
[ -0.007384513970464468, -0.03680884838104248, 0.016043750569224358, 0.03317964822053909, 0.06768722832202911, -0.03563831001520157, -0.05219985544681549, 0.01999836415052414, -0.02917705662548542, -0.037301432341337204, -0.007670671679079533, 0.008357984945178032, -0.046792130917310715, -0....
6a514da3d727379c91b9f06b-0
6a514da3d727379c91b9f06b
laravel
Laravel MongoDB
https://mongodb.com/docs/drivers/php/laravel-mongodb/current/interact-data/aggregation-builder
Aggregation Operations
# Aggregation Operations ## Overview In this guide, you can learn how to perform aggregations and construct pipelines by using the Laravel Integration aggregation builder. The aggregation builder lets you use a type-safe syntax to construct a MongoDB **aggregation pipeline**. An aggregation pipeline is a data proces...
[ -0.014632754027843475, -0.023243898525834084, -0.012399714440107346, 0.03671420365571976, 0.043589748442173004, -0.018693048506975174, -0.03415672108530998, 0.032872721552848816, 0.011661616154015064, -0.04689344763755798, -0.013460417278110981, -0.011507494375109673, -0.040510330349206924, ...
6a514da3d727379c91b9f06b-1
6a514da3d727379c91b9f06b
laravel
Laravel MongoDB
https://mongodb.com/docs/drivers/php/laravel-mongodb/current/interact-data/aggregation-builder
Aggregation Operations
### Sort Stage Example You can chain the `sort()` method to your aggregation pipeline to specify the documents' output order. You can add this aggregation stage anywhere in the pipeline. It is often placed after the group stage since it can depend on the grouped data. We recommend placing the sort stage as late as po...
[ -0.01030843798071146, -0.04096417501568794, -0.018490470945835114, 0.02642355114221573, 0.017759419977664948, -0.023218119516968727, -0.04924029856920242, 0.01686394028365612, -0.015657782554626465, -0.029725035652518272, -0.026385528966784477, 0.014433570206165314, -0.05077526718378067, -...
6a514da3d727379c91b9f06b-2
6a514da3d727379c91b9f06b
laravel
Laravel MongoDB
https://mongodb.com/docs/drivers/php/laravel-mongodb/current/interact-data/aggregation-builder
Aggregation Operations
### Single Equality Join Example This example uses the sample data given in the Perform a Single Equality Join with $lookup section of the `$lookup` stage reference in the Server manual. The following code example joins the documents from the `orders` collection with the documents from the `inventory` collection by u...
[ 0.00131163839250803, -0.036931589245796204, 0.01978795975446701, 0.018425090238451958, 0.025956233963370323, -0.03927917778491974, -0.028270410373806953, 0.0012907861964777112, 0.05410922318696976, -0.01494274940341711, -0.005079220049083233, 0.008533259853720665, -0.03282802551984787, -0....
68a95c105e79d242619db67d-0
68a95c105e79d242619db67d
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/multi-cluster-no-service-mesh-deploy-rs
Deploy Multi-Cluster Replica Sets Without a Service Mesh
# Deploy Multi-Cluster Replica Sets Without a Service Mesh Use this procedure to deploy a replica set in a multi-Kubernetes cluster MongoDB deployment without using a service mesh for establishing external connectivity between member Kubernetes clusters. As an alternative to using this procedure, you can use the Mult...
[ -0.004576065111905336, 0.045642219483852386, 0.06429356336593628, -0.007450179662555456, -0.016957351937890053, -0.06376149505376816, -0.0253189317882061, 0.03397173807024956, -0.029524076730012894, -0.0007634048233740032, -0.02419883757829666, 0.02066105790436268, -0.034996867179870605, -...
68a95c105e79d242619db67d-1
68a95c105e79d242619db67d
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/multi-cluster-no-service-mesh-deploy-rs
Deploy Multi-Cluster Replica Sets Without a Service Mesh
### Change the settings to your preferred values. <table> <tr> <th id="Key"> Key </th> <th id="Type"> Type </th> <th id="Description"> Description </th> <th id="Example"> Example </th> </tr> <tr> <td headers="Key"> `metadata.name` </td> <td headers="Type"> string </td> <td headers="Description"> Label for the `M...
[ 0.004526754841208458, 0.061102498322725296, 0.030016958713531494, 0.005606192164123058, -0.00910666212439537, -0.047122348099946976, -0.03732709586620331, 0.026763472706079483, -0.011480847373604774, -0.009224510751664639, -0.022662421688437462, 0.0015127554070204496, -0.017194457352161407, ...
68a95c105e79d242619db708-0
68a95c105e79d242619db708
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/tutorial/create-x509-client-certs
Generate X.509 Client Certificates
# Generate X.509 Client Certificates The MongoDB Controllers for Kubernetes Operator can deploy MongoDB instances with X.509 authentication enabled. If X.509 authentication has been enabled for the deployment, you must generate and use an X.509 certificate to connect to the deployment. This new client certificate must...
[ -0.01622948609292507, 0.0065199532546103, 0.04833032190799713, 0.02100399136543274, 0.016979731619358063, -0.06646790355443954, 0.0037653534673154354, 0.016954118385910988, -0.017513468861579895, -0.026974067091941833, 0.00750066339969635, -0.022561848163604736, -0.009121567010879517, -0.0...
68a95c105e79d242619db6cb-0
68a95c105e79d242619db6cb
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/openshift-tutorials
Openshift Tutorials
# Openshift Tutorials This section contains the following: - OpenShift Quick Start - Deploy in Restricted Networks
[ 0.006164710037410259, -0.05583904683589935, 0.01615992747247219, -0.017240747809410095, -0.003763490589335561, -0.04129677265882492, 0.04622632637619972, 0.056153714656829834, -0.005255932919681072, 0.009698483161628246, 0.017696605995297432, 0.02879571169614792, -0.06687656044960022, 0.01...
68a95c105e79d242619db6ff-0
68a95c105e79d242619db6ff
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/reference/k8s-operator-crd-logging-specification
MongoDB CRD Log Rotation Settings
# MongoDB CRD Log Rotation Settings You can configure log rotation settings for CustomResourceDefinitions in the MongoDB and Ops Manager CRD (Custom Resource Definition) manifests. The following table outlines logging configuration fields that you can define in the MongoDB CRD (Custom Resource Definition) manifests, ...
[ -0.014565286226570606, 0.014223655685782433, 0.005727995187044144, 0.04328459873795509, 0.022106820717453957, -0.04634048789739609, -0.028364989906549454, 0.014144006185233593, -0.02881321683526039, -0.0009845285676419735, -0.023766160011291504, 0.032006047666072845, -0.01545077282935381, ...
68a95c105e79d242619db6ff-1
68a95c105e79d242619db6ff
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/reference/k8s-operator-crd-logging-specification
MongoDB CRD Log Rotation Settings
### Audit Logs You can configure the Application Database Audit log rotation in the `MongoDBOpsManager` manifest under `spec.applicationDatabase.agent.mongod.auditlogRotate`. The `auditLogRotate` setting depends on the `logRotate` setting. In order for `auditLogRotate` to take effect, you must also configure `logRota...
[ 0.02047347091138363, 0.010556605644524097, 0.017619552090764046, 0.043542876839637756, 0.02354198880493641, -0.034582484513521194, -0.015703532844781876, 0.00381045276299119, -0.03981790319085121, 0.023357558995485306, -0.0075289225205779076, 0.026110762730240822, -0.01808907836675644, -0....
691eb238e337baf834ef5131-0
691eb238e337baf834ef5131
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/tutorial/install-fts-vs-with-community
Install and use With MongoDB Community Edition
# Install and use With MongoDB Community Edition You can use the Kubernetes Operator and deploy the `mongot` process resources to run with MongoDB Community Edition v8.3 or later on a Kubernetes cluster. The `mongot` process supports both MongoDB Search and Vector Search. Optionally, you can enable and configure Vecto...
[ 0.016155894845724106, 0.01528380811214447, 0.04325017333030701, 0.020445488393306732, 0.02993650548160076, -0.06897934526205063, 0.00929848663508892, 0.018948880955576897, -0.042883604764938354, 0.015034555457532406, -0.004871373064815998, -0.010819665156304836, -0.03366807848215103, -0.05...
691eb238e337baf834ef5131-1
691eb238e337baf834ef5131
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/tutorial/install-fts-vs-with-community
Install and use With MongoDB Community Edition
HOOKS: MANIFEST: --- # Source: mongodb-kubernetes/templates/database-roles.yaml apiVersion: v1 kind: ServiceAccount metadata: name: mongodb-kubernetes-appdb namespace: mongodb --- # Source: mongodb-kubernetes/templates/database-roles.yaml apiVersion: v1 kind: ServiceAccount metadata: name: mongodb-kubernetes-data...
[ -0.0018349108286201954, 0.006803772412240505, 0.01866009645164013, 0.028041578829288483, 0.06380776315927505, -0.029653161764144897, 0.052001677453517914, 0.03788813576102257, 0.02242296189069748, 0.024675050750374794, -0.016671588644385338, 0.0024679049383848906, -0.03096936084330082, -0....
691eb238e337baf834ef5131-2
691eb238e337baf834ef5131
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/tutorial/install-fts-vs-with-community
Install and use With MongoDB Community Edition
### Conditional. Install the MongoDB Controllers for Kubernetes Operator. The Kubernetes Operator watches `MongoDBCommunity` and MongoDBSearch custom resources and manages the lifecycle of your MongoDB deployments. If you already installed the MongoDB Controllers for Kubernetes Operator, skip this step. Otherwise, ins...
[ 0.0069715119898319244, 0.015288214199244976, 0.04696473106741905, 0.01320261787623167, 0.02616816759109497, -0.04945983737707138, 0.03341054171323776, 0.00870387814939022, -0.011281543411314487, 0.035088635981082916, 0.005702595226466656, -0.009245124645531178, -0.030040817335247993, -0.05...
691eb238e337baf834ef5131-3
691eb238e337baf834ef5131
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/tutorial/install-fts-vs-with-community
Install and use With MongoDB Community Edition
runAsNonRoot: true runAsUser: 2000 seccompProfile: type: RuntimeDefault containers: - name: mongodb-kubernetes-operator image: "quay.io/mongodb/mongodb-kubernetes:1.14.0" imagePullPolicy: Always args: - -watch-resource=mongodb ...
[ 0.001207674271427095, 0.028791990131139755, 0.041372817009687424, 0.010687674395740032, 0.0484369732439518, -0.057912036776542664, 0.042479127645492554, 0.018337685614824295, -0.01048752199858427, 0.027846844866871834, -0.014698241837322712, 0.0028059121686965227, -0.04989418014883995, -0....
691eb238e337baf834ef5131-4
691eb238e337baf834ef5131
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/tutorial/install-fts-vs-with-community
Install and use With MongoDB Community Edition
### Conditional. Install the `cert-manager`. The `cert-manager` is required for managing TLS (Transport Layer Security) certificates. If you already have `cert-manager` installed in your cluster, skip this step. Otherwise, install `cert-manager` using Helm. To install `cert-manager` in the `cert-manager` namespace, r...
[ -0.004596061538904905, 0.024018544703722, 0.085428386926651, 0.0012456246186047792, 0.004552128259092569, -0.031554851680994034, 0.010029466822743416, 0.005025525111705065, -0.03078838251531124, 0.010921042412519455, 0.002183125354349613, -0.01440243050456047, -0.005594490561634302, -0.068...
691eb238e337baf834ef5131-5
691eb238e337baf834ef5131
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/tutorial/install-fts-vs-with-community
Install and use With MongoDB Community Edition
### Conditional. Create and deploy the MongoDB Community resource. If you've already deployed the MongoDB Community Edition, skip this step. Otherwise, deploy the MongoDB Community Edition. To deploy the MongoDB Community Edition, complete the following steps: - Create a `MongoDBCommunity` custom resource named `mdb...
[ 0.001251258421689272, 0.007836941629648209, 0.04063984006643295, -0.004531402140855789, 0.04963567852973938, -0.05167645961046219, 0.034839894622564316, 0.05888983607292175, -0.006135869771242142, 0.0011695962166413665, -0.005091958679258823, 0.016018306836485863, -0.027125759050250053, -0...
691eb238e337baf834ef5131-6
691eb238e337baf834ef5131
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/tutorial/install-fts-vs-with-community
Install and use With MongoDB Community Edition
### Required. Create and deploy the resource for MongoDB Search and Vector Search. You can deploy one instance of the search node without any load balancing. To deploy, complete the following steps: - Create a MongoDBSearch custom resource named `mdbc-rs`. This resource specifies the CPU and memory resource requi...
[ 0.012785361148416996, 0.042559362947940826, 0.029486382380127907, 0.013395660556852818, 0.029354991391301155, -0.06274254620075226, -0.0074350060895085335, 0.033876825124025345, -0.028383448719978333, 0.012637581676244736, -0.006149192340672016, 0.02587251365184784, -0.03867089003324509, -...
68a95c105e79d242619db6af-0
68a95c105e79d242619db6af
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/reference-architectures/multi-cluster/istio-service-mesh
Istio Service Mesh
# Istio Service Mesh While it is possible to deploy Multi-Cluster Ops Manager, Multi-Cluster Sharded Cluster, and Multi-Cluster Replica Set configurations without a service mesh, the recommended approach (presented here) is to leverage a service mesh to handle the networking across multiple Kubernetes clusters. To lea...
[ 0.02255501225590706, 0.07781428098678589, 0.04384279251098633, 0.030576517805457115, 0.01804543100297451, -0.04271422699093819, 0.04542875662446022, 0.04724744334816933, 0.00006914637197041884, 0.03196854144334793, -0.019748009741306305, 0.008346866816282272, -0.04024840146303177, -0.01544...
68a95c105e79d242619db6af-1
68a95c105e79d242619db6af
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/reference-architectures/multi-cluster/istio-service-mesh
Istio Service Mesh
### Optional. Check cluster connectivity. The following optional scripts verify whether the service mesh is configured correctly for cross-cluster DNS resolution and connectivity. - Create a Kubernetes namespace for the connectivity test. ```bash kubectl --context "${K8S_CLUSTER_0_CONTEXT_NAME}" create namespace...
[ 0.017476079985499382, 0.03980082646012306, 0.055731337517499924, -0.0019828106742352247, 0.01576407626271248, 0.010190348140895367, -0.010887687094509602, 0.014869676902890205, 0.0006797219393774867, 0.01824893057346344, -0.016193890944123268, 0.038148608058691025, -0.03541792556643486, -0...
68a95c105e79d242619db6af-2
68a95c105e79d242619db6af
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/reference-architectures/multi-cluster/istio-service-mesh
Istio Service Mesh
```bash Checking cross-cluster DNS resolution and connectivity from echoserver2-0 in gke_scratch-kubernetes-team_europe-central2-c_k8s-mdb-2-6abb9ad27d6x076f80-29737 to echoserver1-0 SUCCESS ``` - Verify Pod 2 from cluster 0: ```bash source_cluster=${K8S_CLUSTER_0_CONTEXT_NAME} target_pod="echoserver2-...
[ 0.013859303668141365, 0.015647992491722107, 0.028904402628540993, 0.001039388356730342, 0.026773137971758842, 0.017288846895098686, 0.005019919481128454, 0.0035034280735999346, -0.010613709688186646, 0.003104871604591608, -0.03536752983927727, 0.038114335387945175, -0.011735386215150356, -...
6a514d73d727379c91b9dc05-0
6a514d73d727379c91b9dc05
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/fts-vs/deployment/upgrade-downgrade
Upgrade or Downgrade
# Upgrade or Downgrade
[ -0.002785672200843692, -0.03557940945029259, -0.03298772871494293, -0.014639883302152157, 0.007293762639164925, -0.025319410488009453, -0.023434553295373917, -0.00048061239067465067, -0.016938230022788048, -0.03391942009329796, 0.0370715893805027, 0.06002553179860115, -0.026868648827075958, ...
68a95c105e79d242619db717-0
68a95c105e79d242619db717
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/tutorial/deploy-replica-set
Deploy a Replica Set
# Deploy a Replica Set At any place on this page that says *Ops Manager*, you can substitute *Cloud Manager*. - You can use the Kubernetes Operator to deploy MongoDB resources with Cloud Manager and with Ops Manager version 6.0.x or later. - You can use the Atlas Operator to deploy MongoDB resources to Atlas. Kuber...
[ -0.015894602984189987, 0.04049387574195862, 0.039648085832595825, 0.005143553484231234, 0.008563820272684097, -0.053651079535484314, 0.008294560946524143, 0.039582740515470505, -0.03794342279434204, 0.016536518931388855, -0.020402418449521065, 0.0021806354634463787, -0.011144015938043594, ...
68a95c105e79d242619db717-1
68a95c105e79d242619db717
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/tutorial/deploy-replica-set
Deploy a Replica Set
### Copy the sample replica set resource. Change the settings of this YAML (Yet Another Markup Language) file to match your desired replica set configuration. ```yaml --- apiVersion: mongodb.com/v1 kind: MongoDB metadata: name: <my-replica-set> spec: members: 3 version: "8.0.0" opsManager: configMapRef: ...
[ -0.00830253679305315, 0.027705766260623932, 0.01679397001862526, 0.005478185135871172, -0.002599800704047084, -0.02709949016571045, -0.040427472442388535, 0.008329799398779869, -0.036681246012449265, 0.029821546748280525, -0.01323563139885664, -0.02750156819820404, -0.01213087048381567, -0...
68a95c105e79d242619db717-2
68a95c105e79d242619db717
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/tutorial/deploy-replica-set
Deploy a Replica Set
### Optional: Configure ACME (Automatic Certificate Management Environment) based TLS (Transport Layer Security) certificates for your replica set resource. If you're using an ACME (Automatic Certificate Management Environment) based service provider such as Let's Encrypt to issue TLS (Transport Layer Security) certif...
[ -0.005033684894442558, 0.030933188274502754, 0.008964448235929012, -0.01976080983877182, -0.007244253996759653, -0.07886247336864471, -0.019100677222013474, 0.01687176711857319, -0.02757500857114792, -0.00636562705039978, -0.017270006239414215, -0.002903738059103489, -0.0065460833720862865, ...
68a95c105e79d242619db717-3
68a95c105e79d242619db717
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/tutorial/deploy-replica-set
Deploy a Replica Set
### Renew TLS Certificates for a Replica Set Renew your TLS (Transport Layer Security) certificates periodically using the following procedure: #### Configure `kubectl` to default to your namespace. If you have not already, run the following command to execute all `kubectl` commands in the namespace you created. If...
[ -0.011398312635719776, 0.030422212556004524, 0.0379292257130146, -0.0014505505096167326, -0.009423702955245972, -0.02964962273836136, -0.036497410386800766, 0.0027763673570007086, -0.04151439666748047, 0.010385578498244286, -0.006950913928449154, -0.003414282575249672, -0.021748321130871773,...
68a95c105e79d242619db717-4
68a95c105e79d242619db717
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/tutorial/deploy-replica-set
Deploy a Replica Set
### Add any additional accepted settings for a replica set deployment. You can also add any of the following optional settings to the object specification file for a replica set deployment: - `spec.additionalMongodConfig` - `spec.backup.assignmentLabels` - `spec.backup.mode` - `spec.backup.snapshotSchedule.snapsho...
[ 0.011814053170382977, 0.02970164828002453, -0.005854766350239515, 0.011425123549997807, 0.007733867969363928, -0.07371301203966141, -0.01251164823770523, 0.025664865970611572, -0.030672572553157806, 0.0187876857817173, -0.015028843656182289, 0.00989511888474226, -0.02049221843481064, -0.03...
68a95c105e79d242619db739-0
68a95c105e79d242619db739
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/tutorial/modify-resource-image
Modify Ops Manager or MongoDB Kubernetes Resource Containers
# Modify Ops Manager or MongoDB Kubernetes Resource Containers You can modify the containers in the Pods in which Ops Manager and MongoDB database resources run using the `template` or `podTemplate` setting that applies to your deployment: - MongoDB database: `spec.podSpec.podTemplate` - Ops Manager: `spec.statefulS...
[ 0.011063212528824806, -0.020469745621085167, 0.030775243416428566, 0.02461579442024231, 0.0500417985022068, -0.03246268630027771, -0.007030326873064041, -0.02108733169734478, -0.02138116955757141, 0.006529191043227911, 0.029329748824238777, 0.0014106925809755921, -0.05185733735561371, -0.0...
68a95c105e79d242619db664-0
68a95c105e79d242619db664
mck
MongoDB Controllers for Kubernetes
https://mongodb.com/docs/kubernetes/current/gdc-hosted
Kubernetes Operator on GDC
# Kubernetes Operator on GDC MongoDB Enterprise Advanced is available on Google Distributed Cloud air-gapped (GDC air-gapped). GDC air-gapped is Google Cloud’s Kubernetes-based private cloud. It enables you to manage infrastructure, services, APIs, and tooling without a connection to Google Cloud or the public Intern...
[ -0.015099817886948586, 0.004505717195570469, -0.02397695742547512, -0.00499747833237052, -0.001099495799280703, -0.0370754674077034, 0.05614694952964783, 0.03987250477075577, -0.030842728912830353, 0.0005116091924719512, -0.01923312246799469, -0.0038957055658102036, -0.012183421291410923, ...
6a7d648bd54f2f30bc3a4bb6-0
6a7d648bd54f2f30bc3a4bb6
mcp-server
MongoDB MCP Server
https://mongodb.com/docs/mcp-server/local-mcp/configuration
Local MCP Server Configuration
# Local MCP Server Configuration Configure the Local MCP to interact with your MongoDB deployments from AI clients. The following sections describe AI client compatibility and prerequisites for the Local MCP, and provide links to pages with the Local MCP configuration options. For a basic Local MCP configuration and ...
[ -0.0018618116155266762, 0.008253240957856178, 0.02554134465754032, 0.0012836443493142724, 0.004731455817818642, -0.0542990006506443, -0.0005942020216025412, 0.059923842549324036, -0.04731697961688042, 0.00633068336173892, -0.015185145661234856, 0.007275688461959362, -0.024902502074837685, ...
6a7ac14ae5571fb2c0fdfefc-0
6a7ac14ae5571fb2c0fdfefc
mcp-server
MongoDB MCP Server
https://mongodb.com/docs/mcp-server/remote-mcp/manage-ai-client-access
Manage AI Client Access to Your Organization
# Manage AI Client Access to Your Organization As an Organization Owner, you control whether AI clients can connect to your Atlas organization through user-delegated access, and what level of access those clients receive. AI clients can't connect to your organization until you enable AI client access. Atlas **disable...
[ -0.025840995833277702, -0.014279574155807495, 0.02930881828069687, 0.03173036500811577, 0.01558434497565031, -0.017486801370978355, 0.009887724183499813, 0.07508288323879242, -0.036936014890670776, -0.005371993873268366, -0.02866251766681671, 0.03102104365825653, -0.022638386115431786, -0....
68a95c1e5e79d242619dd7db-0
68a95c1e5e79d242619dd7db
mcp-server
MongoDB MCP Server
https://mongodb.com/docs/mcp-server/overview
MongoDB MCP Server Overview
# MongoDB MCP Server Overview The feature described on this page is not currently supported on Atlas Infinite clusters during public preview. For the features supported in public preview, see Public Preview Availability. The MongoDB MCP Server allows you to interact with your MongoDB data and deployments from AI clie...
[ 0.0027140493039041758, 0.008392530493438244, 0.04660937935113907, 0.005652707535773516, 0.025043869391083717, -0.042325008660554886, 0.0005055229412391782, 0.05862974748015404, -0.021939678117632866, -0.01131571363657713, -0.03916482627391815, 0.015759138390421867, -0.0487472340464592, -0....
68a95c1e5e79d242619dd7db-1
68a95c1e5e79d242619dd7db
mcp-server
MongoDB MCP Server
https://mongodb.com/docs/mcp-server/overview
MongoDB MCP Server Overview
### Use Cases The MongoDB MCP Server allows you to interact with your MongoDB data and deployments using natural language, streamlining developer workflows and making it easier to perform complex tasks from AI interfaces. For example, the MongoDB MCP Server enables the following use cases: <table> <tr> <th id="Use%20...
[ -0.00461666751652956, 0.00281898002140224, 0.05149557814002037, 0.008084121160209179, 0.016185015439987183, -0.04433981329202652, 0.0016696732491254807, 0.06030067428946495, -0.05318489670753479, -0.023408610373735428, -0.04133104160428047, 0.02100994437932968, -0.038648225367069244, -0.03...
68a95c1e5e79d242619dd7d9-0
68a95c1e5e79d242619dd7d9
mcp-server
MongoDB MCP Server
https://mongodb.com/docs/mcp-server
What is the MongoDB MCP Server?
# What is the MongoDB MCP Server? The MongoDB MCP Server lets you connect to MongoDB from your agentic AI tools, assistants, and platforms. Interact with LLMs in natural language to query, explore, and manage your MongoDB data and deployments. Learn More About MCP ## AI-Powered Software Development Interact with yo...
[ -0.015348797664046288, 0.0015707280253991485, 0.027302317321300507, 0.040095966309309006, 0.00508528808131814, -0.03001999855041504, -0.0005312208086252213, 0.06332039833068848, -0.024595551192760468, -0.030808063223958015, -0.05604710429906845, -0.008832055144011974, -0.06894750148057938, ...
6a7d648bd54f2f30bc3a4bb7-0
6a7d648bd54f2f30bc3a4bb7
mcp-server
MongoDB MCP Server
https://mongodb.com/docs/mcp-server/local-mcp/configuration/enable-or-disable-features
Enable or Disable MongoDB MCP Server Features
# Enable or Disable MongoDB MCP Server Features The MongoDB MCP Server has various options that you can enable or disable. For example: read-only mode, specific MCP tools, telemetry about system use, and database index checks. ## Enabling MCP Server Read-Only Mode You can limit the MCP Server to perform only read op...
[ -0.03285640850663185, 0.0008656758582219481, -0.0009459134307689965, 0.022869987413287163, -0.034274566918611526, -0.052303314208984375, -0.03239082172513008, 0.04229210317134857, -0.060023337602615356, 0.0028489409014582634, -0.017605220898985863, -0.02016817405819893, -0.049043234437704086...
6a7d648bd54f2f30bc3a4bbb-0
6a7d648bd54f2f30bc3a4bbb
mcp-server
MongoDB MCP Server
https://mongodb.com/docs/mcp-server/local-mcp/configuration/standalone-service
Start MongoDB MCP Server as a Standalone Service
# Start MongoDB MCP Server as a Standalone Service You can start the MCP Server as a standalone service, which allows the MCP Server to run independently from an AI client. To start the MCP Server as a standalone service, use the `npx` command. ## Standalone Service Using Environment Variables You can use `npx` to s...
[ 0.04338898882269859, 0.013015803880989552, 0.04257434234023094, -0.005366806872189045, 0.015101616270840168, -0.06901855766773224, -0.028364485129714012, 0.056769270449876785, -0.05883333459496498, 0.024737169966101646, 0.003196430392563343, 0.009972188621759415, -0.05703318119049072, -0.0...
6a7d648bd54f2f30bc3a4bba-0
6a7d648bd54f2f30bc3a4bba
mcp-server
MongoDB MCP Server
https://mongodb.com/docs/mcp-server/local-mcp/configuration/methods
MongoDB MCP Server Configuration Methods
# MongoDB MCP Server Configuration Methods To configure the MongoDB MCP Server to connect to your MongoDB cluster and set other MCP Server options, use any of these methods: - JSON configuration file with MCP Server options - Command line options - Operating system environment variables The MCP Server uses Atlas A...
[ -0.003191158175468445, 0.015664130449295044, 0.029995022341609, 0.012443301267921925, 0.004794031381607056, -0.06060795858502388, -0.04404411464929581, 0.0465790219604969, -0.05709674954414368, -0.0035960376262664795, -0.005681260023266077, 0.021332984790205956, -0.051474615931510925, -0.0...
6a7d648bd54f2f30bc3a4bc2-0
6a7d648bd54f2f30bc3a4bc2
mcp-server
MongoDB MCP Server
https://mongodb.com/docs/mcp-server/local-mcp/security/connect-with-ldap
Connect with LDAP
# Connect with LDAP Starting in MongoDB 8.0, LDAP authentication and authorization is deprecated. LDAP is available and will continue to operate without changes throughout the lifetime of MongoDB 8. LDAP will be removed in a future major release. You can connect to your MongoDB Enterprise deployment or MongoDB Atlas ...
[ 0.036079682409763336, 0.024037804454565048, 0.014949888922274113, 0.006708843167871237, -0.015321231447160244, -0.05942671373486519, -0.034343019127845764, 0.008738440461456776, -0.011626907624304295, 0.023054465651512146, -0.01460910215973854, -0.014465999789536, -0.01215225551277399, -0....
6a7d648bd54f2f30bc3a4bc4-0
6a7d648bd54f2f30bc3a4bc4
mcp-server
MongoDB MCP Server
https://mongodb.com/docs/mcp-server/local-mcp/security/connect-with-proxy
Connect with Proxy
# Connect with Proxy The MongoDB MCP Server supports connections to MongoDB deployments and Atlas clusters through proxies. ## MCP Environment Variables To establish a connection with proxy configurations, use the following variables when configuring environment variables for the MCP server: <table> <tr> <th id="Va...
[ 0.01698176935315132, 0.022224418818950653, 0.037152934819459915, 0.006728110369294882, -0.011394659988582134, -0.043203890323638916, -0.03330268710851669, 0.03141753375530243, -0.05066797137260437, 0.008774707093834877, 0.001172750606201589, 0.026821285486221313, -0.024538448080420494, -0....
6a7d648bd54f2f30bc3a4bc7-0
6a7d648bd54f2f30bc3a4bc7
mcp-server
MongoDB MCP Server
https://mongodb.com/docs/mcp-server/local-mcp/security/connect-with-x509
Connect with X.509 Certificates
# Connect with X.509 Certificates You can connect to your MongoDB Enterprise deployment or MongoDB Atlas cluster using X.509 certificate authentication with the MongoDB MCP Server. To learn more, see X.509. ## Prerequisites Complete one of the following procedures to set up X.509 authentication for your MongoDB dep...
[ 0.026696357876062393, 0.022367238998413086, 0.01673099212348461, 0.00856439583003521, -0.002362075261771679, -0.06742974370718002, -0.04415971413254738, 0.01860465109348297, -0.036740370094776154, -0.02074432745575905, -0.00629336666315794, -0.01949058473110199, -0.02221863903105259, -0.04...
68a95c1b5e79d242619dd3b1-0
68a95c1b5e79d242619dd3b1
mongocli
MongoDB CLI
https://mongodb.com/docs/mongocli/current/command/mongocli-cloud-manager-monitoring
mongocli cloud-manager monitoring
# mongocli cloud-manager monitoring Manage monitoring for your project. ## Options <table> <tr> <th id="Name"> Name </th> <th id="Type"> Type </th> <th id="Required"> Required </th> <th id="Description"> Description </th> </tr> <tr> <td headers="Name"> -h, --help </td> <td headers="Type"> </td> <td headers="Re...
[ 0.01836206763982773, -0.014288795180618763, 0.019671626389026642, 0.019838178530335426, 0.0004933532909490168, -0.055701617151498795, -0.025335492566227913, 0.08028797805309296, -0.04510095342993736, 0.02246837504208088, -0.02802717313170433, 0.008813931606709957, -0.044406402856111526, -0...
68a95c1b5e79d242619dd475-0
68a95c1b5e79d242619dd475
mongocli
MongoDB CLI
https://mongodb.com/docs/mongocli/current/command/mongocli-iam-teams-users-delete
mongocli iam teams users delete
# mongocli iam teams users delete Remove the specified user from a team for your organization. To use this command, you must authenticate with a user account or an API key with the Organization User Admin role. ## Syntax ``` mongocli iam teams users delete <userId> [options] ``` ## Arguments <table> <tr> <th id="...
[ 0.007885497063398361, 0.023428989574313164, 0.008335120975971222, -0.015452995896339417, -0.009190677665174007, -0.06521683186292648, -0.03776954486966133, 0.012663383036851883, -0.03503147140145302, 0.047194890677928925, -0.0005864909035153687, 0.03545526787638664, 0.011531051248311996, -...
68a95c1b5e79d242619dd322-0
68a95c1b5e79d242619dd322
mongocli
MongoDB CLI
https://mongodb.com/docs/mongocli/current/command/mongocli-cloud-manager-alerts-settings-update
mongocli cloud-manager alerts settings update
# mongocli cloud-manager alerts settings update Modify the details of the specified alert configuration for your project. To use this command, you must authenticate with a user account or an API key with the Project Owner role. ## Syntax ``` mongocli cloud-manager alerts settings update <alertConfigId> [options] ``...
[ -0.020355088636279106, -0.010135931894183159, 0.0013301164144650102, -0.005216195713728666, -0.009935124777257442, -0.02106562815606594, -0.057848695665597916, 0.03055346943438053, -0.06156860664486885, 0.005585701670497656, -0.024662071838974953, 0.00992804579436779, -0.02113521099090576, ...
68a95c1b5e79d242619dd322-1
68a95c1b5e79d242619dd322
mongocli
MongoDB CLI
https://mongodb.com/docs/mongocli/current/command/mongocli-cloud-manager-alerts-settings-update
mongocli cloud-manager alerts settings update
## Options <table> <tr> <th id="Name"> Name </th> <th id="Type"> Type </th> <th id="Required"> Required </th> <th id="Description"> Description </th> </tr> <tr> <td headers="Name"> --apiKey </td> <td headers="Type"> string </td> <td headers="Required"> false </td> <td headers="Description"> Datadog API Key, Ops...
[ -0.008687837049365044, 0.019446352496743202, -0.008195637725293636, 0.01883314549922943, -0.032986290752887726, -0.038942303508520126, -0.06755058467388153, 0.03342917561531067, -0.08255147933959961, 0.02352857030928135, -0.011870426125824451, -0.004766082391142845, -0.0017368501285091043, ...
68a95c1b5e79d242619dd322-2
68a95c1b5e79d242619dd322
mongocli
MongoDB CLI
https://mongodb.com/docs/mongocli/current/command/mongocli-cloud-manager-alerts-settings-update
mongocli cloud-manager alerts settings update
## Inherited Options <table> <tr> <th id="Name"> Name </th> <th id="Type"> Type </th> <th id="Required"> Required </th> <th id="Description"> Description </th> </tr> <tr> <td headers="Name"> -P, --profile </td> <td headers="Type"> string </td> <td headers="Required"> false </td> <td headers="Description"> Name ...
[ 0.014998935163021088, 0.0007984221447259188, -0.021907195448875427, -0.002840859815478325, -0.03041127696633339, -0.04846952110528946, -0.06223474070429802, 0.022147763520479202, -0.05192561820149422, 0.0044906362891197205, 0.005225852597504854, 0.0026518264785408974, -0.03024321235716343, ...
68a95c1b5e79d242619dd36f-0
68a95c1b5e79d242619dd36f
mongocli
MongoDB CLI
https://mongodb.com/docs/mongocli/current/command/mongocli-cloud-manager-liveMigrations-link-delete
mongocli cloud-manager liveMigrations link delete
# mongocli cloud-manager liveMigrations link delete Delete one link-token. ## Syntax ``` mongocli cloud-manager liveMigrations link delete [options] ``` ## Options <table> <tr> <th id="Name"> Name </th> <th id="Type"> Type </th> <th id="Required"> Required </th> <th id="Description"> Description </th> </tr> <t...
[ 0.023611299693584442, 0.010340631008148193, 0.05043252930045128, -0.014520466327667236, -0.009242384694516659, 0.006444443948566914, -0.016436921432614326, 0.014138564467430115, -0.008778301998972893, 0.01965768076479435, -0.011305423453450203, 0.03269204497337341, -0.004233999643474817, -...
68a95c1b5e79d242619dd48a-0
68a95c1b5e79d242619dd48a
mongocli
MongoDB CLI
https://mongodb.com/docs/mongocli/current/command/mongocli-iam-projects-teams-update
mongocli iam projects teams update
# mongocli iam projects teams update Modify the roles for the specified team for your project. To use this command, you must authenticate with a user account or an API key with the Project User Admin role. ## Syntax ``` mongocli iam projects teams update <teamId> [options] ``` ## Arguments <table> <tr> <th id="Na...
[ -0.014802861027419567, 0.023180542513728142, -0.006564628798514605, 0.004460965748876333, 0.01021036971360445, -0.061084747314453125, -0.0401877723634243, 0.041853927075862885, -0.048421356827020645, 0.009298739954829216, -0.014903949573636055, 0.031833257526159286, -0.025690551847219467, ...
68a95c1b5e79d242619dd2c6-0
68a95c1b5e79d242619dd2c6
mongocli
MongoDB CLI
https://mongodb.com/docs/mongocli/current/command/mongocli
mongocli
# mongocli CLI tool to manage your MongoDB Cloud Use mongocli command help for information on a specific command ## Options <table> <tr> <th id="Name"> Name </th> <th id="Type"> Type </th> <th id="Required"> Required </th> <th id="Description"> Description </th> </tr> <tr> <td headers="Name"> -h, --help </td> ...
[ -0.007184227928519249, 0.021978996694087982, 0.010595392435789108, -0.0015591938281431794, -0.016366003081202507, -0.04507160559296608, -0.0010700755519792438, 0.0665917918086052, -0.04803825169801712, -0.015977267175912857, -0.0022105486132204533, 0.0020488547161221504, -0.01271961163729429...
68a95c1b5e79d242619dd4d5-0
68a95c1b5e79d242619dd4d5
mongocli
MongoDB CLI
https://mongodb.com/docs/mongocli/current/command/mongocli-iam-teams-create
mongocli iam teams create
# mongocli iam teams create Create a team for your organization. To use this command, you must authenticate with a user account or an API key with the Organization Owner role. ## Syntax ``` mongocli iam teams create <name> [options] ``` ## Arguments <table> <tr> <th id="Name"> Name </th> <th id="Type"> Type </t...
[ 0.005817493423819542, 0.010210417211055756, -0.013793960213661194, -0.017183100804686546, -0.012096955440938473, -0.06941529363393784, -0.03836971893906593, 0.024760419502854347, -0.020786665380001068, 0.06839627772569656, 0.019597206264734268, -0.007344706915318966, -0.03044205531477928, ...
68a95c1b5e79d242619dd3e3-0
68a95c1b5e79d242619dd3e3
mongocli
MongoDB CLI
https://mongodb.com/docs/mongocli/current/command/mongocli-config-edit
mongocli config edit
# mongocli config edit Opens the config file with the default text editor. Uses the default editor to open the config file. You can use EDITOR or VISUAL envs to change the default. ## Syntax ``` mongocli config edit [options] ``` ## Options <table> <tr> <th id="Name"> Name </th> <th id="Type"> Type </th> <th id...
[ 0.016247713938355446, 0.012690570205450058, 0.006876093801110983, -0.0024712122976779938, -0.03963446244597435, -0.05022576078772545, -0.045742813497781754, 0.04178547114133835, -0.05456818267703056, 0.007797254249453545, 0.015997927635908127, -0.00823649950325489, -0.014108232222497463, -...
68a95c1b5e79d242619dd632-0
68a95c1b5e79d242619dd632
mongocli
MongoDB CLI
https://mongodb.com/docs/mongocli/current/troubleshooting
Troubleshooting
# Troubleshooting ## Command Errors ### Error: missing credentials You might not have properly set up your API keys. Ensure that you added your API keys to your profile or your environment variables. If you created a profile with a custom name or are using more than one profile, ensure that you are specifying the co...
[ -0.015528666786849499, 0.009824283421039581, 0.008174696937203407, 0.013320757076144218, -0.00703811040148139, -0.03385405242443085, -0.026947326958179474, 0.07611001282930374, -0.04550805687904358, -0.004063050262629986, 0.04685966670513153, 0.014072994701564312, -0.020435718819499016, -0...
68a95c1b5e79d242619dd49c-0
68a95c1b5e79d242619dd49c
mongocli
MongoDB CLI
https://mongodb.com/docs/mongocli/current/command/mongocli-ops-manager-admin-backups-s3
mongocli ops-manager admin backups s3
# mongocli ops-manager admin backups s3 Manage backup s3 blockstore configurations. ## Options <table> <tr> <th id="Name"> Name </th> <th id="Type"> Type </th> <th id="Required"> Required </th> <th id="Description"> Description </th> </tr> <tr> <td headers="Name"> -h, --help </td> <td headers="Type"> </td> <td...
[ 0.0011276534060016274, 0.004218586254864931, 0.021678850054740906, -0.019586043432354927, 0.007336149923503399, -0.00006700212543364614, 0.0005274351569823921, 0.05946759134531021, -0.04001881554722786, 0.019333895295858383, -0.024139370769262314, 0.01902226358652115, -0.007271201815456152, ...
68a95c1b5e79d242619dd6bf-0
68a95c1b5e79d242619dd6bf
mongodb-shell
MongoDB Shell
https://mongodb.com/docs/mongodb-shell/logs/compression
Enable Log Compression
# Enable Log Compression You can enable compression for MongoDB Shell log files. By default, MongoDB Shell does not compress log files. ## About this Task When log compression is enabled, MongoDB Shell compresses log files with gzip. After you toggle log compression, you must start a new MongoDB Shell session for t...
[ -0.03129275143146515, -0.013719316571950912, -0.03514334186911583, 0.01931658200919628, 0.007669077254831791, -0.028201855719089508, -0.054749537259340286, 0.0220260601490736, -0.0612204372882843, 0.00851884949952364, 0.003622006392106414, -0.014696882106363773, -0.010697886347770691, -0.0...
68a95c1b5e79d242619dd6b0-0
68a95c1b5e79d242619dd6b0
mongodb-shell
MongoDB Shell
https://mongodb.com/docs/mongodb-shell/mongoshrc
`.mongoshrc` Configuration File
# `.mongoshrc` Configuration File On startup, `mongosh` checks your `HOME` directory for a JavaScript file named .mongoshrc.js. If this file is found, `mongosh` reads the content of .mongoshrc.js before displaying the prompt for the first time. If you use `mongosh` to evaluate a JavaScript file or expression, either ...
[ -0.015753163024783134, 0.009915332309901714, -0.03586309030652046, 0.01812424138188362, -0.01711573638021946, -0.04146299511194229, -0.023020854219794273, 0.035191766917705536, -0.04539806395769119, -0.012479936704039574, 0.005323345307260752, -0.013275697827339172, -0.018593313172459602, ...
68a95c1b5e79d242619dd70a-0
68a95c1b5e79d242619dd70a
mongodb-shell
MongoDB Shell
https://mongodb.com/docs/mongodb-shell/run-commands
Run Commands
# Run Commands To run commands in `mongosh`, you must first connect to a MongoDB deployment. ## Format Input and Output BSONEJSONNode.js BSON parserJSON.parseJSON.stringify()`mongosh` uses the Node.js BSON parser parser to parse BSON data. You can use the parser's EJSON interface to transform your data when you work...
[ -0.0030600945465266705, -0.00488768145442009, -0.030481647700071335, 0.03271519020199776, 0.03156157210469246, -0.016037888824939728, -0.026830095797777176, 0.023045506328344345, -0.04526902735233307, -0.028322815895080566, 0.0032518506050109863, -0.022919511422514915, -0.031244810670614243,...
68a95c1b5e79d242619dd714-0
68a95c1b5e79d242619dd714
mongodb-shell
MongoDB Shell
https://mongodb.com/docs/mongodb-shell/snippets/commands
Snippet Commands
# Snippet Commands This feature is experimental. MongoDB does not provide support for Snippets. This feature may be changed or removed at any time without prior notice. Bugs are not expected, however should you encounter one, please open an issue in the GitHub repository for this project. This document provides an o...
[ -0.03161358833312988, -0.028270581737160683, 0.019945893436670303, -0.005430419929325581, 0.00025693417410366237, 0.006558606401085854, -0.04891107603907585, 0.04217931628227234, -0.07282401621341705, -0.009773315861821175, -0.006245030090212822, 0.02194070629775524, -0.0543157123029232, -...
68a95c1b5e79d242619dd717-0
68a95c1b5e79d242619dd717
mongodb-shell
MongoDB Shell
https://mongodb.com/docs/mongodb-shell/snippets/registries-config
Registries and Registry Configuration
# Registries and Registry Configuration This feature is experimental. MongoDB does not provide support for Snippets. This feature may be changed or removed at any time without prior notice. Bugs are not expected, however should you encounter one, please open an issue in the GitHub repository for this project. This p...
[ -0.020670387893915176, -0.03360689803957939, 0.009491374716162682, -0.05086856707930565, 0.018933281302452087, 0.007128738332539797, 0.007242501713335514, 0.05689206346869469, -0.07912823557853699, -0.009536027908325195, 0.028984472155570984, 0.025755129754543304, -0.022549422457814217, -0...
68a95c1b5e79d242619dd6dd-0
68a95c1b5e79d242619dd6dd
mongodb-shell
MongoDB Shell
https://mongodb.com/docs/mongodb-shell/reference/editor-mode
Use an Editor for Commands
# Use an Editor for Commands The `mongosh` console is line oriented. However, you can also use an editor to work with multiline functions. There are two options: - Use the `edit` command with an external editor. - Use the `.editor` command, a built-in editor. ## Using an External Editor The `mongosh` `edit` comman...
[ 0.019276704639196396, -0.0051746247336268425, -0.004012797959148884, 0.03909275680780411, -0.021706003695726395, -0.03435876965522766, -0.033972132951021194, 0.0220340508967638, -0.04708924889564514, -0.0020311831030994654, -0.001600420568138361, -0.008763480931520462, -0.0000908604415599256...
68a95c1b5e79d242619dd71e-0
68a95c1b5e79d242619dd71e
mongodb-shell
MongoDB Shell
https://mongodb.com/docs/mongodb-shell/reference/options
Options
# Options Use the following options to view and control various aspects of your MongoDB Shell. ## General Options `mongosh` `--build-info` Returns a JSON-formatted document with information about your `mongosh` build and driver dependencies. **Example: View Build Information** You can check the build information a...
[ -0.003301252145320177, 0.02025514841079712, -0.03084983304142952, 0.013678532093763351, -0.0007243198342621326, -0.05894850939512253, -0.07378968596458435, 0.01649543084204197, -0.05708254873752594, -0.004243155475705862, -0.006885385140776634, 0.028093144297599792, -0.04519050195813179, -...
68a95c1b5e79d242619dd71e-1
68a95c1b5e79d242619dd71e
mongodb-shell
MongoDB Shell
https://mongodb.com/docs/mongodb-shell/reference/options
Options
### TLS Options `--tls` Enables connection to a `mongod` or `mongos` that has TLS (Transport Layer Security) / SSL (Secure Sockets Layer) support enabled. To learn more about TLS/SSL and MongoDB, see: - Configure mongod and mongos for TLS/SSL - TLS/SSL Configuration for Clients `--tlsCertificateKeyFile <filename>`...
[ -0.025260545313358307, 0.018303176388144493, -0.019611850380897522, 0.02043420635163784, 0.0108487568795681, -0.015787731856107712, -0.062023796141147614, 0.012636078521609306, -0.04680546000599861, -0.013039199635386467, 0.007314211688935757, 0.012783916667103767, -0.007858647033572197, -...
68a95c1b5e79d242619dd71e-2
68a95c1b5e79d242619dd71e
mongodb-shell
MongoDB Shell
https://mongodb.com/docs/mongodb-shell/reference/options
Options
## Authentication Options `--authenticationDatabase <dbname>` Specifies the authentication database where the specified `--username` has been created. See Authentication Database. If you do not specify a value for `--authenticationDatabase`, the MongoDB Shell uses the database specified in the connection string. `--...
[ 0.016043782234191895, 0.020440800115466118, -0.05442921817302704, 0.006702161394059658, -0.02336294576525688, -0.03212536871433258, -0.0241885706782341, 0.03847945109009743, -0.026406180113554, -0.02062283270061016, -0.017120081931352615, -0.008260532282292843, -0.01656990498304367, -0.062...
68a95c1b5e79d242619dd71e-3
68a95c1b5e79d242619dd71e
mongodb-shell
MongoDB Shell
https://mongodb.com/docs/mongodb-shell/reference/options
Options
## Field Level Encryption Options `--cryptSharedLibPath <string>` The path to the Automatic Encryption Shared Library. The library must be version 8.2.0 or higher. Required to use automatic encryption for the `mongosh` shell session. `--awsAccessKeyId <string>` An AWS Access Key associated with an IAM user who has `L...
[ 0.0028007079381495714, -0.004173911642283201, -0.018616413697600365, 0.008785279467701912, -0.009408069774508476, -0.04750072956085205, 0.0029469477012753487, 0.049586888402700424, -0.06256590783596039, -0.018477654084563255, -0.02509303204715252, -0.021456925198435783, -0.011805431917309761...
68a95c1b5e79d242619dd71c-0
68a95c1b5e79d242619dd71c
mongodb-shell
MongoDB Shell
https://mongodb.com/docs/mongodb-shell/snippets
Snippets
# Snippets This feature is experimental. MongoDB does not provide support for Snippets. This feature may be changed or removed at any time without prior notice. Bugs are not expected, however should you encounter one, please open an issue in the GitHub repository for this project. ## Introduction A `snippet` is a s...
[ -0.05841873958706856, -0.03814531862735748, 0.003610455896705389, -0.030050424858927727, 0.013357993215322495, -0.010840118862688541, 0.011301515623927116, 0.056160811334848404, -0.0514989048242569, -0.023102030158042908, -0.017327992245554924, 0.01431282889097929, -0.052526410669088364, -...