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 |
|---|---|---|---|---|---|---|---|
68d62ff87a7e4b3c5a4f1d78-0 | 68d62ff87a7e4b3c5a4f1d78 | database-tools | MongoDB Database Tools | https://mongodb.com/docs/database-tools/verify/rpm | Verify RPM Packages (RHEL) | # Verify RPM Packages (RHEL)
The MongoDB release team digitally signs Database Tools packages to certify that packages are a valid and unaltered MongoDB release. Before you install the Database Tools, you can use the digital signature to validate the package.
This page describes how to verify `.rpm` packages on RHEL ... | [
-0.038026805967092514,
-0.039295800030231476,
-0.010975313372910023,
0.002274195197969675,
0.031648073345422745,
-0.02742583118379116,
0.031339988112449646,
0.0001417435851180926,
-0.039461649954319,
0.02093551494181156,
0.027807097882032394,
-0.024346724152565002,
-0.007175153587013483,
-... |
68d62ff87a7e4b3c5a4f1d79-0 | 68d62ff87a7e4b3c5a4f1d79 | database-tools | MongoDB Database Tools | https://mongodb.com/docs/database-tools/verify | Verify Integrity of Database Tools Packages | # Verify Integrity of Database Tools Packages
The MongoDB release team digitally signs Database Tools packages to certify that packages are a valid and unaltered MongoDB release. Before you install the Database Tools, you can use the digital signature to validate the package.
To learn how to verify Database Tools pac... | [
-0.02915961667895317,
-0.05836747959256172,
-0.02331988327205181,
-0.0030378871597349644,
0.03777514770627022,
-0.01610022410750389,
0.049387376755476,
0.035703614354133606,
-0.03615490719676018,
0.005275153089314699,
0.013361032120883465,
-0.003666115691885352,
-0.020746363326907158,
-0.0... |
68a95be15e79d242619d8014-0 | 68a95be15e79d242619d8014 | database-tools | MongoDB Database Tools | https://mongodb.com/docs/database-tools/release-notes/dbtools-100.11.0-changelog | Database Tools 100.11.0 Changelogs | # Database Tools 100.11.0 Changelogs
## 100.11.0 Changelog
*Released 2025-02-02*
This version adds support for OIDC for programmatic workloads. It also updates a few dependency libraries to fix vulnerabilities, adds a check of metadata consistency to accommodate `$`-prefixed fields, and fixes a small race condition ... | [
-0.008070796728134155,
0.0027058878913521767,
-0.05774427950382233,
0.033167026937007904,
0.001065533491782844,
-0.008009287528693676,
-0.0056772599928081036,
0.029379526153206825,
-0.02436019480228424,
-0.02998872473835945,
0.008465735241770744,
-0.042128872126340866,
-0.030985364690423012,... |
68a95c3c5e79d242619e1a6e-0 | 68a95c3c5e79d242619e1a6e | django | Django MongoDB Backend | https://mongodb.com/docs/languages/python/django-mongodb/current/issues-and-help | Report Issues and Request Help | # Report Issues and Request Help
We're lucky to have such a vibrant community of Django MongoDB Backend users. We recommend seeking support for general questions through the MongoDB communities on Reddit or Stack Overflow.
To learn more about Django MongoDB Backend's feature availability and limitations, see the Djan... | [
0.013604717329144478,
-0.013638505712151527,
-0.00297317816875875,
0.029758291319012642,
0.04598168283700943,
-0.031561486423015594,
0.005319914314895868,
0.04584595561027527,
-0.002751390915364027,
-0.008370479568839073,
0.0032390218693763018,
0.054238077253103256,
-0.04082336649298668,
-... |
68a95c3c5e79d242619e1a81-0 | 68a95c3c5e79d242619e1a81 | django | Django MongoDB Backend | https://mongodb.com/docs/languages/python/django-mongodb/current/model-data/models | Create Models to Represent Collections | # Create Models to Represent Collections
## Overview
In this guide, you can learn how to create Django **models** that represent MongoDB collections. Models are Python classes that define the structure of your data. When using Django MongoDB Backend, you can map each model to a MongoDB collection and interact with th... | [
0.031547579914331436,
-0.0030413921922445297,
-0.01990639604628086,
0.02676544152200222,
0.02519548125565052,
-0.02709098532795906,
0.004895456600934267,
0.03351493179798126,
-0.014209077693521976,
-0.040964990854263306,
-0.006818328984081745,
-0.010765522718429565,
-0.03986018896102905,
-... |
68a95c3c5e79d242619e1a81-1 | 68a95c3c5e79d242619e1a81 | django | Django MongoDB Backend | https://mongodb.com/docs/languages/python/django-mongodb/current/model-data/models | Create Models to Represent Collections | ## Define a Model
To create a model that represents a MongoDB collection, add your model class definitions to your application's `models.py` file. In your model class, specify the fields you want to store and include any model metadata in an inner `Meta` class. You can also use the `__str__()` method to define the str... | [
0.026666441932320595,
-0.0017094265203922987,
-0.012153117917478085,
0.01683998294174671,
0.01895677112042904,
-0.04229450225830078,
0.005065673962235451,
0.04462873563170433,
-0.023185567930340767,
-0.030644478276371956,
-0.018655622377991676,
0.007237881887704134,
-0.02278170920908451,
-... |
68a95c3c5e79d242619e1a81-2 | 68a95c3c5e79d242619e1a81 | django | Django MongoDB Backend | https://mongodb.com/docs/languages/python/django-mongodb/current/model-data/models | Create Models to Represent Collections | ### Store Embedded Model Data
You can use an `EmbeddedModelField` to represent a MongoDB `Object`, which stores a nested document value. This type allows one model to store a separate model in one of its fields. To create an `EmbeddedModelField`, define an embedded model class as a subclass of the `EmbeddedModel` abst... | [
0.0321008563041687,
-0.017836125567555428,
0.024693811312317848,
0.030992629006505013,
0.020359793677926064,
-0.05479183793067932,
-0.0363948717713356,
0.013606466352939606,
-0.017079124227166176,
-0.028544956818223,
-0.007029465399682522,
0.002040084218606353,
-0.022378146648406982,
-0.03... |
68a95c3c5e79d242619e1a81-3 | 68a95c3c5e79d242619e1a81 | django | Django MongoDB Backend | https://mongodb.com/docs/languages/python/django-mongodb/current/model-data/models | Create Models to Represent Collections | ## Specify Unique Constraints
To ensure that a field does not store the same value in multiple documents, specify a unique constraint.
To create a unique constraint, assign the `constraints` option in your model's `Meta` class to a `UniqueConstraint` object. Pass the following arguments to the `UniqueConstraint()` co... | [
-0.012826194986701012,
-0.023519393056631088,
0.02138502523303032,
0.02520114742219448,
0.039876073598861694,
-0.059612710028886795,
-0.02008581906557083,
0.0218593031167984,
-0.03027595952153206,
-0.004413667134940624,
-0.014652968384325504,
-0.0329422652721405,
-0.0083351731300354,
-0.00... |
6a76cb256b218fc00ba0b664-0 | 6a76cb256b218fc00ba0b664 | django | Django MongoDB Backend | https://mongodb.com/docs/languages/python/django-mongodb/current/interact-data/transactions | Transactions and Sessions | # Transactions and Sessions
## Overview
In this guide, you can learn how to use Django MongoDB Backend to perform **transactions**. Transactions allow you to run a series of operations that change data only if the entire transaction is committed. If any operation in the transaction does not succeed, Django MongoDB Ba... | [
0.02742256596684456,
0.005067124497145414,
0.019429340958595276,
0.04782437905669212,
0.04023434594273567,
-0.008798553608357906,
0.022835586220026016,
0.03526996076107025,
-0.022992553189396858,
-0.009013236500322819,
-0.017380695790052414,
0.003270285204052925,
-0.03926514461636543,
-0.0... |
68a95c3c5e79d242619e1a76-0 | 68a95c3c5e79d242619e1a76 | django | Django MongoDB Backend | https://mongodb.com/docs/languages/python/django-mongodb/current/interact-data/specify-a-query | Specify a Query | # Specify a Query
## Overview
In this guide, you can learn how to use Django MongoDB Backend to specify a database query.
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 re... | [
0.035310592502355576,
-0.025378571823239326,
0.0016751955263316631,
0.02542191930115223,
0.008761843666434288,
-0.04391989856958389,
-0.030438628047704697,
0.023407863453030586,
0.01411388348788023,
-0.04116356745362282,
-0.020947853103280067,
-0.0122466329485178,
-0.04188435524702072,
-0.... |
68a95c3c5e79d242619e1a76-1 | 68a95c3c5e79d242619e1a76 | django | Django MongoDB Backend | https://mongodb.com/docs/languages/python/django-mongodb/current/interact-data/specify-a-query | Specify a Query | ### Use Text Match Lookups
The following table describes some of the lookup types that you can use to run queries that include specific matching criteria for text values:
<table>
<tr>
<th id="Lookup%20Type">
Lookup Type
</th>
<th id="Description">
Description
</th>
</tr>
<tr>
<td headers="Lookup%20Type">
`exact`
<... | [
0.07039543986320496,
-0.04858417809009552,
-0.043920326977968216,
0.0207435991615057,
0.0072341072373092175,
-0.007902446202933788,
-0.007034762296825647,
0.010248317383229733,
0.04335961490869522,
-0.051390986889600754,
-0.04564319923520088,
0.0028738644905388355,
-0.06047284975647926,
-0... |
68a95c3c5e79d242619e1a76-2 | 68a95c3c5e79d242619e1a76 | django | Django MongoDB Backend | https://mongodb.com/docs/languages/python/django-mongodb/current/interact-data/specify-a-query | Specify a Query | ### Query Embedded Model Values
You can run operations on your model that query fields of embedded models. To query these fields, specify your model field and each embedded field name separated by double underscores (`__`) until you reach the field you want to query, as shown in the following code:
```python
Model.ob... | [
0.06528139114379883,
-0.018616605550050735,
0.021352393552660942,
0.026678046211600304,
-0.000643876614049077,
-0.04633784666657448,
-0.032146062701940536,
-0.0035775303840637207,
0.01407618261873722,
-0.03345036879181862,
-0.027470162138342857,
0.005152321420609951,
-0.04077015817165375,
... |
68a95c3c5e79d242619e1a76-3 | 68a95c3c5e79d242619e1a76 | django | Django MongoDB Backend | https://mongodb.com/docs/languages/python/django-mongodb/current/interact-data/specify-a-query | Specify a Query | ### Query Polymorphic Embedded Model Array Values
To query data stored in a `PolymorphicEmbeddedModelArrayField` value, use the same syntax and operators described in the Query Embedded Model Array Values section. You can query fields that are shared among the embedded models or fields that are unique to a specific mo... | [
0.026140406727790833,
0.010744509287178516,
-0.034617915749549866,
0.037079039961099625,
0.01678258739411831,
-0.0681501105427742,
-0.02384013682603836,
0.001376551459543407,
0.010452271439135075,
-0.03479651361703873,
-0.015286566689610481,
0.008234505541622639,
-0.06376563012599945,
0.00... |
68a95c3c5e79d242619e1a67-0 | 68a95c3c5e79d242619e1a67 | django | Django MongoDB Backend | https://mongodb.com/docs/languages/python/django-mongodb/current/interact-data/crud | Perform CRUD Operations | # Perform CRUD Operations
## Overview
In this guide, you can learn how to use Django MongoDB Backend to run create, read, update, and delete (CRUD) operations on your MongoDB collection.
You can also use the Django admin site to edit your models and their corresponding collections on a web interface. For more inform... | [
0.008444134145975113,
-0.02556462027132511,
0.019689517095685005,
0.03205513209104538,
0.024759897962212563,
-0.007144398987293243,
-0.005668702535331249,
0.024255821481347084,
-0.0006857486441731453,
-0.039085350930690765,
-0.012124775908887386,
-0.00339385773986578,
-0.04835657402873039,
... |
6a76cb256b218fc00ba0b65e-0 | 6a76cb256b218fc00ba0b65e | django | Django MongoDB Backend | https://mongodb.com/docs/languages/python/django-mongodb/current/integrations/djongo-migration | Migrate Your Djongo Application | # Migrate Your Djongo Application
## Overview
In this guide, you can learn how to modify your Djongo project to use Django MongoDB Backend. Djongo is a third-party library that translates SQL queries into MongoDB Query Language (MQL) queries, allowing you to use MongoDB as your Django backend for Django versions 4.0 ... | [
0.02001659758388996,
0.012547586113214493,
-0.038666173815727234,
0.0062821791507303715,
0.02198488637804985,
-0.04526044428348541,
-0.015972724184393883,
0.03200850263237953,
-0.04204152897000313,
-0.01211834978312254,
-0.05395196005702019,
-0.006474451627582312,
-0.050439879298210144,
-0... |
6a76cb256b218fc00ba0b65e-1 | 6a76cb256b218fc00ba0b65e | django | Django MongoDB Backend | https://mongodb.com/docs/languages/python/django-mongodb/current/integrations/djongo-migration | Migrate Your Djongo Application | ### Embedded Model Example
When using Djongo, you can use an `EmbeddedField` to represent an embedded MongoDB document. To define a field that stores multiple embedded documents, you can use an `ArrayField`.
Django MongoDB Backend provides the following fields that represent embedded documents:
- `EmbeddedModelField... | [
0.019248802214860916,
0.02057678997516632,
-0.026146238669753075,
0.01781042292714119,
-0.0003218578058294952,
-0.04628467559814453,
-0.05877081677317619,
0.04466262832283974,
-0.021807745099067688,
-0.015889031812548637,
-0.03721480071544647,
-0.02238313853740692,
-0.060862015932798386,
-... |
6a76cb256b218fc00ba0b65e-2 | 6a76cb256b218fc00ba0b65e | django | Django MongoDB Backend | https://mongodb.com/docs/languages/python/django-mongodb/current/integrations/djongo-migration | Migrate Your Djongo Application | ## Additional Information
To learn how to set up a new application that uses Django MongoDB Backend, see the Get Started with Django MongoDB Backend tutorial.
To learn more about running database operations by using Django MongoDB Backend, see the Perform CRUD Operations guide.
To learn more about creating Django Mo... | [
0.008530311286449432,
-0.03581051528453827,
-0.017875779420137405,
0.049127575010061264,
0.036889705806970596,
-0.03551436960697174,
0.020177258178591728,
0.05737357214093208,
-0.002445922465994954,
-0.013413408771157265,
0.0159978698939085,
0.007947014644742012,
-0.04231106862425804,
-0.0... |
68a95c3c5e79d242619e1a6d-0 | 68a95c3c5e79d242619e1a6d | django | Django MongoDB Backend | https://mongodb.com/docs/languages/python/django-mongodb/current/model-data | Model Your Data | # Model Your Data
In this section, you can learn how to create and customize your Django models for use with MongoDB.
- Create Models to Represent Collections: Learn how to create models by using supported field types and Django's model configuration features.
- Indexes for Query Optimization: Learn how to create in... | [
0.0002901456318795681,
-0.023674288764595985,
-0.006267659831792116,
0.02694251760840416,
0.023283351212739944,
-0.03884199634194374,
0.006817696616053581,
0.08738621324300766,
-0.013559184968471527,
-0.012646717950701714,
-0.01826932467520237,
-0.007790588773787022,
-0.04567057639360428,
... |
68a95c3c5e79d242619e1a51-0 | 68a95c3c5e79d242619e1a51 | django | Django MongoDB Backend | https://mongodb.com/docs/languages/python/django-mongodb/current/connect | Connect to MongoDB | # Connect to MongoDB
## Overview
In this guide, you can learn how to configure your Django project's connection to MongoDB.
## Connection Configuration
After installing Django MongoDB Backend and creating a project, you can configure your connection to MongoDB by modifying the `DATABASES` setting in your project's ... | [
0.007063021883368492,
0.01654309406876564,
-0.010064534842967987,
0.05816458538174629,
0.01209081057459116,
-0.07018625736236572,
-0.015178615227341652,
0.029347022995352745,
-0.036630451679229736,
-0.005466715432703495,
-0.014265445992350578,
-0.0066871424205601215,
-0.034707218408584595,
... |
6a76cb256b218fc00ba0b661-0 | 6a76cb256b218fc00ba0b661 | django | Django MongoDB Backend | https://mongodb.com/docs/languages/python/django-mongodb/current/model-data/relationships | Model Relationships and Denormalization | # Model Relationships and Denormalization
## Overview
In this guide, you can learn how to model relationships between collections in Django MongoDB Backend. Because MongoDB is a document database, Django MongoDB Backend provides embedded model fields that store related data in a single document instead of across mult... | [
0.028212618082761765,
-0.035469744354486465,
0.03087724559009075,
0.040744949132204056,
0.044200435280799866,
-0.07253193855285645,
-0.014030419290065765,
0.026378346607089043,
0.012652498669922352,
-0.01846965029835701,
-0.03603585436940193,
-0.005599738098680973,
-0.014941955916583538,
-... |
6a76cb256b218fc00ba0b661-1 | 6a76cb256b218fc00ba0b661 | django | Django MongoDB Backend | https://mongodb.com/docs/languages/python/django-mongodb/current/model-data/relationships | Model Relationships and Denormalization | ## Convert Relational to Embedded Data
If you have existing models that use relational fields and want to improve read performance, you can convert them to use embedded models instead. This eliminates `$lookup` operations and stores all related data in a single MongoDB document.
This example defines a `Movie` model t... | [
0.029783422127366066,
-0.04129265248775482,
0.019672347232699394,
0.027242155745625496,
0.020326076075434685,
-0.07643035799264908,
-0.03686080873012543,
0.01673896051943302,
0.010857281275093555,
-0.025104068219661713,
-0.014798358082771301,
-0.02328585460782051,
-0.019622519612312317,
0.... |
68a95c3c5e79d242619e1a66-0 | 68a95c3c5e79d242619e1a66 | django | Django MongoDB Backend | https://mongodb.com/docs/languages/python/django-mongodb/current | Django MongoDB Backend | # Django MongoDB Backend
## Introduction
Welcome to the documentation site for the official Django MongoDB Backend, a Django database backend that uses PyMongo to connect to MongoDB.
## Get Started
Learn how to install Django MongoDB Backend, establish a connection to MongoDB, and begin working with data in the Get... | [
-0.01321658305823803,
-0.009502504020929337,
-0.016590973362326622,
0.03995668143033981,
0.03808321803808212,
-0.041891999542713165,
0.009352159686386585,
0.03774472326040268,
-0.01753365248441696,
-0.021953150629997253,
-0.014644607901573181,
-0.003085961565375328,
-0.03382261097431183,
-... |
68a95b585e79d242619cc97a-0 | 68a95b585e79d242619cc97a | docs | MongoDB Server | https://mongodb.com/docs/manual/core/replica-set-primary | Replica Set Primary | # Replica Set Primary
The primary is the only member in the replica set that receives write operations. MongoDB applies write operations on the primary and then records the operations on the primary's oplog. Secondary members replicate this log and apply the operations to their data sets.
In the following three-membe... | [
-0.06027907505631447,
0.01911746896803379,
-0.015630435198545456,
0.016704216599464417,
0.01819903403520584,
-0.03336958959698677,
-0.04713604599237442,
0.016270257532596588,
-0.022764481604099274,
0.01840660534799099,
-0.008499585092067719,
0.016726285219192505,
-0.008967160247266293,
0.0... |
68a95b585e79d242619cca66-0 | 68a95b585e79d242619cca66 | docs | MongoDB Server | https://mongodb.com/docs/manual/core/unsharded-collections | Unsharded Collections | # Unsharded Collections
Starting in MongoDB 8.0, you can unshard a sharded collection by using the `unshardCollection` command. When you unshard a collection, MongoDB moves the collection data onto a single shard and updates the metadata to reflect the unsharded state.
## Command Syntax
To unshard a collection, use ... | [
-0.06247545778751373,
0.014035784639418125,
0.014707815833389759,
0.009984956122934818,
-0.018740154802799225,
-0.02416834980249405,
-0.023837439715862274,
0.03523238003253937,
-0.03878297284245491,
0.013462723232805729,
-0.054769858717918396,
-0.006619696039706469,
-0.050375524908304214,
... |
68a95b585e79d242619cd2a4-0 | 68a95b585e79d242619cd2a4 | docs | MongoDB Server | https://mongodb.com/docs/manual/reference/operator/update-field | Field Update Operators | # Field Update Operators
For details on a specific command, including syntax and examples, click on the link to the command's reference page.
<table>
<tr>
<th id="Name">
Name
</th>
<th id="Description">
Description
</th>
</tr>
<tr>
<td headers="Name">
`$currentDate`
</td>
<td headers="Description">
Sets the value ... | [
-0.03335809335112572,
-0.00973855797201395,
-0.0031771636568009853,
0.02601945586502552,
-0.025996161624789238,
-0.03331777825951576,
-0.020021792501211166,
0.020015675574541092,
-0.013321724720299244,
-0.029945936053991318,
-0.017651567235589027,
-0.04499483108520508,
-0.000656233518384397,... |
68a95b585e79d242619cca82-0 | 68a95b585e79d242619cca82 | docs | MongoDB Server | https://mongodb.com/docs/manual/data-modeling | Data Modeling in MongoDB | # Data Modeling in MongoDB
Data modeling refers to the organization of data within a database and the links between related entities.
MongoDB has a **flexible data model** that allows you to store polymorphic data, meaning:
- Documents within a single collection are not required to have the same set of fields.
- A ... | [
-0.02156912162899971,
-0.03034568391740322,
0.03345935419201851,
0.048021696507930756,
0.05063866078853607,
-0.02462572231888771,
-0.03707049414515495,
0.012283709831535816,
0.004582444671541452,
-0.005342497956007719,
-0.018043048679828644,
0.02846837416291237,
-0.04499521106481552,
0.027... |
68a95b595e79d242619cd369-0 | 68a95b595e79d242619cd369 | docs | MongoDB Server | https://mongodb.com/docs/manual/replication | Replication | # Replication
A *replica set* in MongoDB is a group of `mongod` processes that maintain the same data set. Replica sets provide redundancy and high availability, and are the basis for all production deployments. This section introduces replication in MongoDB and the components and architecture of replica sets. The sec... | [
-0.03559199720621109,
0.013055440038442612,
-0.0033307247795164585,
-0.0029295263811945915,
0.013697955757379532,
-0.007916301488876343,
-0.017732515931129456,
0.02868572436273098,
-0.016303377225995064,
-0.0010304417228326201,
-0.02215757593512535,
0.010014425031840801,
-0.01600414328277111... |
68a95b595e79d242619cd369-1 | 68a95b595e79d242619cd369 | docs | MongoDB Server | https://mongodb.com/docs/manual/replication | Replication | ### Data Visibility
Depending on the read concern, clients can see the results of writes before the writes are durable:
- Regardless of a write's write concern, other clients using `"local"` or `"available"` read concern can see the result of a write operation before the write operation is acknowledged to the issuing... | [
-0.054265670478343964,
-0.018103478476405144,
-0.004634085111320019,
0.0014164006570354104,
-0.014804377220571041,
-0.008564118295907974,
-0.06055819243192673,
0.04343823716044426,
-0.02735740877687931,
-0.03035121038556099,
-0.03516504541039467,
0.006296985317021608,
-0.05112526938319206,
... |
68a95b585e79d242619ccf2d-0 | 68a95b585e79d242619ccf2d | docs | MongoDB Server | https://mongodb.com/docs/manual/reference/method/db.serverBuildInfo | db.serverBuildInfo() (mongosh method) | # db.serverBuildInfo() (mongosh method)
`db.serverBuildInfo()`
Provides a wrapper around the `buildInfo` database command. `buildInfo` returns a document that contains an overview of parameters used to compile this `mongod` instance.
## Compatibility
This method is available in deployments hosted in the following en... | [
-0.002276521874591708,
-0.01279105432331562,
-0.008387363515794277,
0.033948905766010284,
0.0035064879339188337,
-0.035015907138586044,
-0.014245059341192245,
0.05818533897399902,
-0.04440118372440338,
-0.04182914271950722,
-0.022728536278009415,
0.004385531414300203,
-0.010313641279935837,
... |
68a95b585e79d242619cd251-0 | 68a95b585e79d242619cd251 | docs | MongoDB Server | https://mongodb.com/docs/manual/reference/operator/aggregation/toString | $toString (expression operator) | # $toString (expression operator)
## Definition
`$toString`
Converts a value to a string. If the value cannot be converted to a string, `$toString` errors. If the value is null or missing, `$toString` returns null.
`$toString` has the following syntax:
```javascript
{
$toString: <expression>
}
```
The `$toStri... | [
-0.0021003405563533306,
0.018881289288401604,
-0.04499594494700432,
0.037015531212091446,
-0.022041624411940575,
-0.000013642866178997792,
-0.05753546580672264,
0.011923871003091335,
0.010621448047459126,
-0.04228024184703827,
-0.010346373543143272,
0.012649805285036564,
-0.03730194270610809... |
68a95b585e79d242619cc897-0 | 68a95b585e79d242619cc897 | docs | MongoDB Server | https://mongodb.com/docs/manual/core/indexes/index-types/geospatial/restrictions | Geospatial Index Restrictions | # Geospatial Index Restrictions
2d and 2dsphere indexes are geospatial indexes. Geospatial indexes have these restrictions:
## Collation Option
2d indexes do not support the collation option, only binary comparison. Binary comparison compares the numeric Unicode value of each character in each string, and does not a... | [
-0.03974258154630661,
0.03360854089260101,
-0.04574032872915268,
0.03727675601840019,
0.019774435088038445,
-0.025599651038646698,
-0.01945098303258419,
0.0568288192152977,
-0.05070947855710983,
-0.0014272137777879834,
-0.03505774214863777,
-0.011408036574721336,
-0.014152949675917625,
0.0... |
68a95b585e79d242619cce87-0 | 68a95b585e79d242619cce87 | docs | MongoDB Server | https://mongodb.com/docs/manual/reference/method/db.collection.getSearchIndexes | db.collection.getSearchIndexes() (mongosh method) | # db.collection.getSearchIndexes() (mongosh method)
## Definition
`db.collection.getSearchIndexes()`
MongoDB Search indexes or MongoDB Vector Search indexesReturns information about existing MongoDB Search indexes or MongoDB Vector Search indexes on a specified collection or view.
This page documents a `mongosh` met... | [
-0.011887799948453903,
0.020676152780652046,
-0.009541308507323265,
0.023130018264055252,
0.027230678126215935,
-0.01858355477452278,
-0.022403452545404434,
0.06320220232009888,
-0.03552589565515518,
0.033421408385038376,
-0.05407388508319855,
-0.004566099960356951,
-0.02590475045144558,
-... |
68a95b585e79d242619cce87-1 | 68a95b585e79d242619cce87 | docs | MongoDB Server | https://mongodb.com/docs/manual/reference/method/db.collection.getSearchIndexes | db.collection.getSearchIndexes() (mongosh method) | ### Index Status Details
The following table describes the embedded fields of the following documents: - `statusDetail.[mongot].mainIndex` - `statusDetail.[mongot].stagedIndex`
The fields describe the index status on a specific `mongot`.
<table>
<tr>
<th id="Field">
Field
</th>
<th id="Type">
Type
</th>
<th id="De... | [
-0.005986645817756653,
0.017690500244498253,
-0.004803788848221302,
0.03722098469734192,
0.053094662725925446,
-0.022677956148982048,
-0.0562533438205719,
0.06473267823457718,
-0.021306132897734642,
0.0072103990241885185,
-0.04134758189320564,
0.014615555293858051,
-0.002556131687015295,
-... |
68a95b585e79d242619cce87-2 | 68a95b585e79d242619cce87 | docs | MongoDB Server | https://mongodb.com/docs/manual/reference/method/db.collection.getSearchIndexes | db.collection.getSearchIndexes() (mongosh method) | ### Return All Search Indexes
The following example returns all MongoDB Search indexes on the `movies` collection. The `movies` collection contains two search indexes: `default` and `synonym_mappings`.
```javascript
db.movies.getSearchIndexes()
```
Sample output:
```javascript
[
{
id: '6524096020da840844a4c4a... | [
0.005939390044659376,
0.005555213429033756,
-0.008270871825516224,
0.023803044110536575,
0.026796521618962288,
-0.03470979258418083,
-0.04483012109994888,
0.04616240784525871,
-0.022840218618512154,
0.020986156538128853,
-0.06583642959594727,
0.024100875481963158,
-0.011052802205085754,
-0... |
68a95b585e79d242619cce87-3 | 68a95b585e79d242619cce87 | docs | MongoDB Server | https://mongodb.com/docs/manual/reference/method/db.collection.getSearchIndexes | db.collection.getSearchIndexes() (mongosh method) | ### Return a Single Search Index
The following example returns the `synonym_mappings` index on the `movies` collection:
```javascript
db.movies.getSearchIndexes("synonym_mappings")
```
Sample output:
```javascript
[
{
id: '65240be420da840844a4d077',
name: 'synonym_mappings',
status: 'READY',
query... | [
0.007873608730733395,
0.012246465310454369,
0.006974868010729551,
0.006032854784280062,
0.030011698603630066,
-0.021235590800642967,
-0.03619782626628876,
0.03669879958033562,
-0.018830010667443275,
0.014378833584487438,
-0.06495866179466248,
0.011051579378545284,
-0.01436916645616293,
-0.... |
68a95b585e79d242619cce7a-0 | 68a95b585e79d242619cce7a | docs | MongoDB Server | https://mongodb.com/docs/manual/reference/method/db.collection.findAndModify | db.collection.findAndModify() (mongosh method) | # db.collection.findAndModify() (mongosh method)
This page documents a `mongosh` method. To see the equivalent method in a MongoDB driver, see the corresponding page for your programming language:
Use `findOneAndUpdate()`, `findOneAndDelete()`, or `findOneAndReplace()` instead.
## Definition
`db.collection.findAn... | [
-0.039030902087688446,
-0.016906166449189186,
-0.014747838489711285,
0.03150039538741112,
0.027537913993000984,
0.008452589623630047,
-0.03814766928553581,
0.02817440964281559,
0.0007236371748149395,
-0.031988050788640976,
-0.024541333317756653,
0.0044969217851758,
-0.01765293814241886,
-0... |
68a95b585e79d242619cce7a-1 | 68a95b585e79d242619cce7a | docs | MongoDB Server | https://mongodb.com/docs/manual/reference/method/db.collection.findAndModify | db.collection.findAndModify() (mongosh method) | ### Parameters
`db.collection.findAndModify()` takes a document parameter with the following embedded document fields:
`findAndModify()`<table>
<tr>
<th id="Parameter">
Parameter
</th>
<th id="Type">
Type
</th>
<th id="Description">
Description
</th>
</tr>
<tr>
<td headers="Parameter">
`query`
</td>
<td headers="... | [
-0.016156772151589394,
-0.03691725805401802,
-0.006580078974366188,
0.03258403763175011,
0.006914582569152117,
0.018302813172340393,
-0.05325344577431679,
0.008039174601435661,
-0.007936561480164528,
0.0004570484743453562,
-0.020855393260717392,
-0.004728848114609718,
-0.015346074476838112,
... |
68a95b585e79d242619cce7a-2 | 68a95b585e79d242619cce7a | docs | MongoDB Server | https://mongodb.com/docs/manual/reference/method/db.collection.findAndModify | db.collection.findAndModify() (mongosh method) | However, you can specify compound conditions on the same identifier in a single filter document, such as in the following examples:
```javascript
// Example 1
[
{ $or: [{"x.a": {$gt: 85}}, {"x.b": {$gt: 80}}] }
]
// Example 2
[
{ $and: [{"x.a": {$gt: 85}}, {"x.b": {$gt: 80}}] }
]
// Example 3
[
{ "x.a": { $gt: 8... | [
0.01022268831729889,
-0.016199283301830292,
0.006050621625036001,
0.02254168502986431,
-0.011402884498238564,
-0.010593841783702374,
-0.057928700000047684,
0.003303186036646366,
0.016285642981529236,
-0.021490832790732384,
-0.04300892353057861,
0.002861717948690057,
-0.021675562486052513,
... |
68a95b585e79d242619cce7a-3 | 68a95b585e79d242619cce7a | docs | MongoDB Server | https://mongodb.com/docs/manual/reference/method/db.collection.findAndModify | db.collection.findAndModify() (mongosh method) | ### Upsert with Unique Index
Upserts can create duplicate documents, unless there is a unique index to prevent duplicates.
Consider an example where no document with the name `Andy` exists and multiple clients issue the following command at roughly the same time:
```javascript
db.people.findAndModify(
{
quer... | [
-0.03424028307199478,
0.00008645794150652364,
0.010773475281894207,
0.04982154816389084,
0.011166010983288288,
-0.009427057579159737,
-0.06621983647346497,
0.049930769950151443,
0.0022346407640725374,
-0.0038912524469196796,
-0.011161926202476025,
-0.016945581883192062,
-0.02116948738694191,... |
68a95b585e79d242619cce7a-4 | 68a95b585e79d242619cce7a | docs | MongoDB Server | https://mongodb.com/docs/manual/reference/method/db.collection.findAndModify | db.collection.findAndModify() (mongosh method) | ### Oplog Entries
If a `findAndModify()` operation successfully finds and modifies a document, the operation adds an entry on the oplog (operations log). If the operation fails or does not find a document to modify, the operation does not add an entry on the oplog.
### Write Concern Errors
In MongoDB versions earlie... | [
-0.015916848555207253,
-0.030529094859957695,
-0.026718217879533768,
0.04304121434688568,
-0.011238057166337967,
0.017065735533833504,
-0.057403869926929474,
0.025252407416701317,
0.0014415769837796688,
0.00469017680734396,
-0.016690611839294434,
-0.019044222310185432,
-0.047220487147569656,... |
68a95b585e79d242619cce7a-5 | 68a95b585e79d242619cce7a | docs | MongoDB Server | https://mongodb.com/docs/manual/reference/method/db.collection.findAndModify | db.collection.findAndModify() (mongosh method) | ### Use an Aggregation Pipeline for Updates
`db.collection.findAndModify()` can accept an aggregation pipeline for the update. The pipeline can consist of the following stages:
- `$addFields` and its alias `$set`
- `$project` and its alias `$unset`
- `$replaceRoot` and its alias `$replaceWith`
Using the aggregatio... | [
-0.013742093928158283,
-0.030118420720100403,
0.027713250368833542,
0.02482927404344082,
0.040353789925575256,
0.0034025402273982763,
-0.03386984020471573,
0.04052092134952545,
0.009189276024699211,
-0.017298797145485878,
-0.015661580488085747,
-0.021942973136901855,
-0.013887224718928337,
... |
68a95c2a5e79d242619df53d-0 | 68a95c2a5e79d242619df53d | docs-relational-migrator | MongoDB Relational Migrator | https://mongodb.com/docs/relational-migrator/mapping-rules/fields/calculated-fields/add-calculated-fields | Add Calculated Fields | # Add Calculated Fields
Calculated fields let you create new fields in your documents by combining values from existing database columns using JavaScript expressions. Calculated fields are evaluated each time a row is processed during a migration job.
## Before you Begin
To create a calculated field, you must define... | [
-0.012910407967865467,
-0.009170755743980408,
0.005074303597211838,
-0.0012065976625308394,
-0.00879593938589096,
-0.05103006958961487,
-0.036172498017549515,
0.02123788185417652,
0.021509995684027672,
-0.022012539207935333,
0.00856892392039299,
-0.011213275603950024,
-0.01596028171479702,
... |
68a95c2a5e79d242619df508-0 | 68a95c2a5e79d242619df508 | docs-relational-migrator | MongoDB Relational Migrator | https://mongodb.com/docs/relational-migrator/jobs/prerequisites/sql-server | Configure Migration Prerequisites for SQL Server | # Configure Migration Prerequisites for SQL Server
To run migration jobs from a SQL Server source database, the database may require some configuration changes. Before you start a migration job, Relational Migrator checks if the database is configured correctly. If Relational Migrator determines the database needs con... | [
0.008305683732032776,
-0.001957164378836751,
0.002351250732317567,
0.0025430412497371435,
0.01782361976802349,
0.016597198322415352,
0.014706424437463284,
0.04997379705309868,
-0.050796832889318466,
0.007118946872651577,
-0.10000045597553253,
0.012580955401062965,
-0.017565596848726273,
0.... |
68a95c2a5e79d242619df511-0 | 68a95c2a5e79d242619df511 | docs-relational-migrator | MongoDB Relational Migrator | https://mongodb.com/docs/relational-migrator/mapping-rules/edit-rules | Edit Rules | # Edit Rules
You can update a mapping rule after it is created. Edited mapping rules take effect the next time a migration job is run.
## About this Task
Options available on the edit pane depend on the type of mapping rule you are editing. For an overview of each mapping rule option, see:
- New Documents
- Embedd... | [
-0.009986592456698418,
0.013593495823442936,
0.006039195228368044,
-0.01742525026202202,
0.021914079785346985,
-0.025396810844540596,
-0.024185320362448692,
0.03481418266892433,
0.00005101012357044965,
-0.012019266374409199,
-0.007537172641605139,
-0.0003845693136099726,
-0.00955839455127716... |
68a95c2a5e79d242619df4c3-0 | 68a95c2a5e79d242619df4c3 | docs-relational-migrator | MongoDB Relational Migrator | https://mongodb.com/docs/relational-migrator/diagrams/understand-diagrams | Understand Diagrams | # Understand Diagrams
This page explains how to interpret diagrams created in the Relational Migrator. Each diagram is comprised of two views, one for your relational database and one for your MongoDB database. The views show the relationships between entities in your databases.
## Relational View
In the relational ... | [
-0.007750880904495716,
-0.024115821346640587,
0.023517053574323654,
0.02784770354628563,
-0.0021874282974749804,
-0.04052869975566864,
-0.03788698464632034,
0.016956323757767677,
0.011532586067914963,
0.02115776762366295,
-0.02479727379977703,
-0.017164813354611397,
-0.042303524911403656,
... |
68a95c2a5e79d242619df519-0 | 68a95c2a5e79d242619df519 | docs-relational-migrator | MongoDB Relational Migrator | https://mongodb.com/docs/relational-migrator/mapping-rules/example-insurance-data/migrate-data | Migrate Your Data to MongoDB | # Migrate Your Data to MongoDB
Now that you have simplified your data model into five collections, you can migrate your data from PostgreSQL to MongoDB Atlas.
## Before You Begin
This task is the final step of the insurance data model example tutorial. Before you migrate your data, ensure you have access to a MongoD... | [
-0.013381394557654858,
-0.009949509985744953,
0.03585926815867424,
-0.026999929919838905,
0.04544848948717117,
-0.036777183413505554,
0.008981774561107159,
0.05770748853683472,
-0.013523748144507408,
0.00031663430854678154,
-0.02700098045170307,
0.0016930390847846866,
-0.026231467723846436,
... |
68a95c2a5e79d242619df44a-0 | 68a95c2a5e79d242619df44a | docs-relational-migrator | MongoDB Relational Migrator | https://mongodb.com/docs/relational-migrator/api-docs | Relational Migrator REST API | # Relational Migrator REST API
The Relational Migrator REST API provides you with programmatic access to Relation Migrator with HTTPS endpoints. The REST API is a Relational Migrator service between your application and your source and destination databases that you can send requests to manage your migration jobs.
Yo... | [
0.013991712592542171,
-0.019099222496151924,
0.028827765956521034,
0.007071181200444698,
-0.0018911518855020404,
-0.005395479500293732,
-0.024791548028588295,
0.0797680988907814,
-0.03190676122903824,
-0.0006151844281703234,
-0.012586139142513275,
0.0049027674831449986,
-0.07571721822023392,... |
68a95c2a5e79d242619df53a-0 | 68a95c2a5e79d242619df53a | docs-relational-migrator | MongoDB Relational Migrator | https://mongodb.com/docs/relational-migrator/mapping-rules/mapping-rule-options/introduction | Mapping Rule Options | # Mapping Rule Options
Mapping rule options are important options that help define the state of your MongoDB collection after a migration.
These options are defined when creating or editing a mapping rule.
## Mapping Rule Concepts
Every mapping rule joins a source table to a destination collection. You can create m... | [
-0.011175370775163174,
-0.01708727329969406,
-0.002004910260438919,
0.002644226886332035,
0.007599277887493372,
-0.04392153024673462,
-0.039901942014694214,
0.015109694562852383,
-0.005955338012427092,
0.004562350921332836,
-0.017436986789107323,
-0.020008254796266556,
-0.04333201050758362,
... |
68a95c2a5e79d242619df54c-0 | 68a95c2a5e79d242619df54c | docs-relational-migrator | MongoDB Relational Migrator | https://mongodb.com/docs/relational-migrator/mapping-rules/schema-mapping | Schema Mapping | # Schema Mapping
Schema mapping is the process by which you decide how your source relational schema should be represented in your target MongoDB database. Facilitate the schema mapping process in Relational Migrator through customized mappings rules.
## Mapping Rules
During the schema mapping design process, Relati... | [
-0.004911215975880623,
-0.002573444275185466,
0.01564060151576996,
0.026358317583799362,
0.03710969164967537,
-0.05949113145470619,
-0.028392091393470764,
0.008487271144986153,
0.018175918608903885,
0.0015690186992287636,
-0.027415387332439423,
0.0026970338076353073,
-0.04735204204916954,
... |
68a95c2a5e79d242619df4a9-0 | 68a95c2a5e79d242619df4a9 | docs-relational-migrator | MongoDB Relational Migrator | https://mongodb.com/docs/relational-migrator/database-connections/mysql | Connect to MySQL | # Connect to MySQL
MySQLThis page shows how to save a new MySQL connection from the Connections page. You can use a saved connection for any Relational Migrator task that requires connecting to a database.
## About this Task
To save a new MySQL connection in Relational Migrator, you must:
- Identify your database c... | [
0.017163889482617378,
0.0014914447674527764,
0.021145951002836227,
0.02806689776480198,
0.01648101955652237,
-0.0034253294579684734,
-0.016485244035720825,
0.044826582074165344,
0.0018097350839525461,
-0.013131899759173393,
-0.011876503936946392,
0.005976453889161348,
-0.024397864937782288,
... |
68a95c2a5e79d242619df517-0 | 68a95c2a5e79d242619df517 | docs-relational-migrator | MongoDB Relational Migrator | https://mongodb.com/docs/relational-migrator/mapping-rules/example-insurance-data | Example: Insurance Data Models | # Example: Insurance Data Models
This sample tutorial uses the Relational Migrator to transform a 21-table insurance data schema into a simple five-collection MongoDB model.
## About this Task
In the sample data set, all people, organizations, and groups are represented as Parties, which can be related to other majo... | [
-0.0020951759070158005,
-0.006760166492313147,
0.0170248094946146,
-0.01483462005853653,
0.032142288982868195,
-0.05295806750655174,
-0.01863640919327736,
0.05246300995349884,
-0.023889487609267235,
0.0009383501601405442,
0.018385471776127815,
-0.015458343550562859,
-0.027200713753700256,
... |
695dfad9e50b91a6be6e4d2b-0 | 695dfad9e50b91a6be6e4d2b | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/node-frameworks/meteor-vue | Integrate MongoDB with Meteor and Vue | # Integrate MongoDB with Meteor and Vue
## Overview
In this guide, you can learn how to create a full-stack **Meteor** application that uses **Vue** as the front-end framework. Meteor is a JavaScript framework for creating web and mobile applications. This framework supports a range of front-end libraries for buildin... | [
-0.020038967952132225,
-0.03048122301697731,
0.012381925247609615,
0.04597493261098862,
-0.013717621564865112,
-0.05540265142917633,
0.039165519177913666,
0.015350748784840107,
-0.021587451919913292,
-0.02809428982436657,
-0.03137082979083061,
0.011890839785337448,
-0.018956568092107773,
-... |
695dfad9e50b91a6be6e4d2b-1 | 695dfad9e50b91a6be6e4d2b | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/node-frameworks/meteor-vue | Integrate MongoDB with Meteor and Vue | ### Configure Your MongoDB Connection
After setting up the project structure, follow the steps in this section to connect your Meteor application to MongoDB.
#### Provide your connection URI
Retrieve the connection URI that you saved in a previous step.
To access the `sample_restaurants` database, modify your conne... | [
-0.03282077610492706,
-0.026088975369930267,
0.0228985995054245,
0.023537615314126015,
0.009951169602572918,
-0.04642688110470772,
0.052052222192287445,
0.006121246609836817,
-0.04303472116589546,
0.001978870015591383,
0.021895235404372215,
0.02200811356306076,
-0.02890835329890251,
-0.013... |
695dfad9e50b91a6be6e4d2b-2 | 695dfad9e50b91a6be6e4d2b | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/node-frameworks/meteor-vue | Integrate MongoDB with Meteor and Vue | ### Configure Vue Components
After setting up the data layer, follow the steps in this section to create Vue components that display the restaurant data.
#### Set up routing
Navigate to the `imports/ui/router.js` file and paste the following code:
```js
import { createRouter, createWebHistory } from 'vue-router';
i... | [
0.005691375117748976,
-0.005467343609780073,
0.028527403250336647,
0.030229896306991577,
-0.018489275127649307,
-0.056869957596063614,
0.06912630051374435,
0.0011935575166717172,
-0.015496094711124897,
-0.009609357453882694,
-0.005166269838809967,
0.014072692953050137,
0.0022490478586405516,... |
695dfad9e50b91a6be6e4d2b-3 | 695dfad9e50b91a6be6e4d2b | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/node-frameworks/meteor-vue | Integrate MongoDB with Meteor and Vue | ## Additional Resources
To learn more about Meteor, Vue, and MongoDB, view the following resources:
- Meteor documentation
- Vue 3 documentation
- vue-meteor-tracker package
- Node.js driver documentation | [
-0.02381286583840847,
-0.02638928033411503,
-0.0024961018934845924,
0.021741412580013275,
-0.00788908451795578,
-0.0362514853477478,
0.05878584831953049,
-0.005364425480365753,
-0.0031487171072512865,
-0.0006701407837681472,
-0.009878541342914104,
0.017620250582695007,
-0.015933725982904434,... |
6996ab7d1435ec531ea17f15-0 | 6996ab7d1435ec531ea17f15 | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/node-frameworks/nuxt-vue | Integrate MongoDB with Nuxt and Vue | # Integrate MongoDB with Nuxt and Vue
## Overview
This tutorial guides you through building a Nuxt application that uses Vue and integrates with MongoDB. Nuxt is a Vue framework that provides file-based routing, server-side rendering, and built-in API routes through its Nitro server engine. Nuxt combined with Vue al... | [
-0.005377927795052528,
0.014727823436260223,
0.008351272903382778,
0.026622198522090912,
0.015717193484306335,
-0.05515250936150551,
0.01575719751417637,
0.022829869762063026,
-0.02790345624089241,
-0.023663146421313286,
-0.01634194329380989,
0.016534198075532913,
-0.003893600543960929,
0.... |
6996ab7d1435ec531ea17f15-1 | 6996ab7d1435ec531ea17f15 | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/node-frameworks/nuxt-vue | Integrate MongoDB with Nuxt and Vue | ### Configure the Back End
After setting up the project structure, follow the steps in this section to set up the back end.
#### Configure your environment variable
Create a `.env` file at the root of your project to securely store your connection URI by running the following command in your project root:
```bash
t... | [
-0.00114945147652179,
0.009005405008792877,
0.024520600214600563,
0.017621032893657684,
0.01754135452210903,
-0.06676509976387024,
0.027168674394488335,
0.012685786001384258,
-0.03797725588083267,
0.014601290225982666,
0.01263470109552145,
0.0015365461586043239,
0.000877290207426995,
-0.01... |
6996ab7d1435ec531ea17f15-2 | 6996ab7d1435ec531ea17f15 | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/node-frameworks/nuxt-vue | Integrate MongoDB with Nuxt and Vue | ### Configure the Front End
After setting up the back end, follow the steps in this section to set up the presentation layer for your application.
#### Create a main.css file
Run the following command in your project root to create a main CSS file for global styles:
```bash
mkdir -p app/assets/css
touch app/assets/... | [
0.020816832780838013,
0.025156168267130852,
-0.003948945086449385,
0.02377449907362461,
-0.005351063795387745,
-0.04715358838438988,
0.0280073843896389,
0.000016443798813270405,
-0.025785081088542938,
-0.004523439332842827,
-0.02201417274773121,
0.005769547540694475,
0.004922153428196907,
... |
6996ab7d1435ec531ea17f15-3 | 6996ab7d1435ec531ea17f15 | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/node-frameworks/nuxt-vue | Integrate MongoDB with Nuxt and Vue | Before continuing, ensure your file tree closely matches the structure below. You can safely ignore any additional project files.
```text
your-project-directory/
├── .env <-- Environment variable file
├── app/
│ ├── app.vue <-- Main application component
│ ├── assets/
│ │ └── css/
│ │ └── main.css <-- ... | [
0.02054217830300331,
-0.0017112577334046364,
-0.0030881487764418125,
0.038888536393642426,
0.0023269180674105883,
-0.058650363236665726,
0.028015011921525,
0.005966666620224714,
-0.01870277151465416,
0.0005568364867940545,
0.008752040565013885,
0.018900007009506226,
-0.024159802123904228,
... |
69955a228215a63d4ee0ee05-0 | 69955a228215a63d4ee0ee05 | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/csharp-frameworks/ef-odata | Integrate MongoDB with Entity Framework and ASP.NET Core | # Integrate MongoDB with Entity Framework and ASP.NET Core
## Overview
In this guide, you can learn how to create a **ASP.NET Core** application that offers **OData** endpoints and uses the **Entity Framework (EF) Core Provider** to access MongoDB. ASP.NET Core is a cross-platform framework for creating cloud-based a... | [
0.007499270606786013,
-0.01067326683551073,
0.047718897461891174,
0.03558937460184097,
0.03064410202205181,
-0.06928755342960358,
0.001844585407525301,
0.07180806249380112,
-0.038339048624038696,
0.010103697888553143,
-0.019899118691682816,
0.004432379733771086,
-0.03549976274371147,
-0.02... |
69955a228215a63d4ee0ee05-1 | 69955a228215a63d4ee0ee05 | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/csharp-frameworks/ef-odata | Integrate MongoDB with Entity Framework and ASP.NET Core | ### Create Your Application
After setting up the project structure and dependencies, follow the steps in this section to create your data models, `DbContext`, and OData endpoints.
#### Create the data models.
In your `RestaurantODataApi` directory, create a `Models` subdirectory. Then, create a file named `Restauran... | [
-0.003877091920003295,
-0.03115476854145527,
0.0368155911564827,
0.04919730871915817,
0.03208591416478157,
-0.051835816353559494,
0.012660044245421886,
0.03230941295623779,
-0.03171006590127945,
0.004326957743614912,
0.021582379937171936,
-0.0068922024220228195,
-0.04679689556360245,
-0.02... |
69955a228215a63d4ee0ee05-2 | 69955a228215a63d4ee0ee05 | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/csharp-frameworks/ef-odata | Integrate MongoDB with Entity Framework and ASP.NET Core | ### Run Your Application
Finally, follow the steps in this section to run your OData REST API and test the endpoints by using HTTP requests.
#### Start the ASP.NET Core application.
From your `RestaurantODataApi` directory, run the following command to compile and start the application:
```bash
dotnet run
```
If s... | [
0.033161018043756485,
-0.03028162010014057,
0.035844188183546066,
0.048219479620456696,
0.009487548843026161,
-0.04795302450656891,
-0.0046715023927390575,
0.04512044042348862,
-0.018853506073355675,
-0.03592158481478691,
0.02032063528895378,
0.005877101793885231,
-0.0425749272108078,
-0.0... |
69a67d623328a617852a8e82-0 | 69a67d623328a617852a8e82 | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/node-frameworks/next-integration | Integrate Next.js with MongoDB | # Integrate Next.js with MongoDB
## Overview
In this guide, you can learn how to create a **Next.js** web application that integrates with MongoDB. Next.js is a React framework that provides server-side rendering, static site generation, and API routes in a single application. The application in this tutorial consist... | [
-0.03500279784202576,
-0.011290762573480606,
0.010133177973330021,
0.04850529506802559,
0.023962020874023438,
-0.05753496661782265,
0.010169821791350842,
0.014986641705036163,
-0.036633409559726715,
-0.009399838745594025,
-0.005522120278328657,
0.0037994689773768187,
-0.021627243608236313,
... |
69a67d623328a617852a8e82-1 | 69a67d623328a617852a8e82 | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/node-frameworks/next-integration | Integrate Next.js with MongoDB | ### Configure the Front End
After you set up the API routes, follow the steps in this section to create the React components that display the restaurant data.
#### Create the Navbar component
In the root directory, create a new directory called `components`. Add a new file named `Navbar.tsx` to this directory and pa... | [
-0.01396770216524601,
-0.017526451498270035,
0.01207736972719431,
0.050555270165205,
-0.009139259345829487,
-0.0479431115090847,
0.023972541093826294,
0.003157780272886157,
-0.05822593346238136,
0.006643018685281277,
-0.009751432575285435,
0.011698565445840359,
-0.0025377245619893074,
0.02... |
68a95bec5e79d242619d8d40-0 | 68a95bec5e79d242619d8d40 | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/odm | ORMs, ODMs, and Libraries | # ORMs, ODMs, and Libraries
MongoDB Client Libraries offer idiomatic APIs and helpers for most programming languages, but some applications are suited to higher level abstraction. In particular, developers may be used to interacting with data in a more declarative fashion, for example by using ActiveRecord for Ruby. ... | [
-0.03231686353683472,
0.0007712088990956545,
-0.00786031037569046,
0.04498983174562454,
0.045991793274879456,
-0.014888699166476727,
0.007198439911007881,
0.0652477815747261,
0.01217056717723608,
-0.04467325285077095,
-0.018339768052101135,
-0.02099555917084217,
-0.038376908749341965,
-0.0... |
6996ab7d1435ec531ea17f13-0 | 6996ab7d1435ec531ea17f13 | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/java-frameworks/quarkus | Integrate MongoDB with Quarkus | # Integrate MongoDB with Quarkus
## Overview
In this guide, you can learn how to create a **Java** REST API that uses **Quarkus** as the web framework and **Eclipse JNoSQL** to access MongoDB. Quarkus is an open-source Java framework designed for cloud-native microservices and serverless development. Eclipse JNOSQL i... | [
-0.009896433912217617,
-0.010844315402209759,
0.0025947154499590397,
0.026953162625432014,
0.009532617405056953,
-0.011041621677577496,
-0.00028016380383633077,
0.045629337430000305,
-0.02583845518529415,
-0.020242106169462204,
-0.0007340084994211793,
0.0260471124202013,
-0.04260183870792389... |
6996ab7d1435ec531ea17f13-1 | 6996ab7d1435ec531ea17f13 | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/java-frameworks/quarkus | Integrate MongoDB with Quarkus | ### Create Your Application
After setting up the project structure and dependencies, follow the steps in this section to create your data model, repository class, and REST endpoints.
#### Create the `Restaurant` model.
Create a file named `Restaurant.java` in the `src/main/java/org/acme` directory and paste the foll... | [
-0.0036170021630823612,
-0.027322225272655487,
0.024065762758255005,
0.027744052931666374,
0.03136314079165459,
-0.019016219303011894,
0.015747394412755966,
0.04913518950343132,
0.002643774962052703,
-0.02306387946009636,
0.03725355118513107,
-0.0008269160753116012,
-0.07103613018989563,
-... |
6996ab7d1435ec531ea17f13-2 | 6996ab7d1435ec531ea17f13 | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/java-frameworks/quarkus | Integrate MongoDB with Quarkus | - `testFindRestaurantsByBorough()`: Verifies that the `findByBorough()` method retrieves MongoDB data
### Run Your Application
Finally, follow the steps in this section to run your REST API and test the endpoints by using `curl` commands.
#### Run the tests.
First, run the following command from your project direct... | [
0.01061744149774313,
-0.03825617954134941,
0.01408806350082159,
0.05970960110425949,
-0.0038881683722138405,
-0.027337798848748207,
0.0011355536989867687,
0.0460449680685997,
-0.022466769441962242,
-0.05542844161391258,
0.02630227990448475,
0.017451927065849304,
-0.06439478695392609,
0.002... |
698d7183894acc7ddb91207c-0 | 698d7183894acc7ddb91207c | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/node-frameworks/angular | Integrate MongoDB with Angular | # Integrate MongoDB with Angular
## Overview
In this guide, you can learn how to create an **Angular** web application that uses the **MEAN stack**. The MEAN stack is a web development framework that uses MongoDB, Express, Angular, and Node.js and consists of the following layers:
- **Database layer**: MongoDB provi... | [
-0.012965508736670017,
-0.0031237509101629257,
0.004603665322065353,
0.0625753402709961,
-0.0005384666146710515,
-0.07007819414138794,
0.03194040432572365,
0.0599190779030323,
-0.05301211029291153,
-0.03139451891183853,
-0.004068322945386171,
0.013590884394943714,
-0.010216651484370232,
0.... |
698d7183894acc7ddb91207c-1 | 698d7183894acc7ddb91207c | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/node-frameworks/angular | Integrate MongoDB with Angular | ### Configure the Back End
After setting up the project structure and dependencies, follow the steps in this section to configure your web server and connect to MongoDB.
#### Configure your Express web server.
Create a file named `server.ts` in your `angular-quickstart/server` directory and paste the following code:... | [
0.013205641880631447,
0.009444085881114006,
0.009916084818542004,
0.060850467532873154,
0.012995732016861439,
-0.08510076999664307,
0.04420491307973862,
0.030118072405457497,
-0.055854663252830505,
0.0009520501480437815,
0.027951668947935104,
0.034536395221948624,
-0.03359534591436386,
0.0... |
698d7183894acc7ddb91207c-2 | 698d7183894acc7ddb91207c | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/node-frameworks/angular | Integrate MongoDB with Angular | ### Configure the Front End
After setting up the application's back end, follow the steps in this section to configure Angular and add the front end components.
#### Create the Angular application.
Navigate to the `angular-quickstart` directory and run the following command to create a new Angular application:
```b... | [
-0.008245221339166164,
0.0012015533866360784,
-0.01806257851421833,
0.07076089084148407,
-0.03533463552594185,
-0.07313106954097748,
0.036798059940338135,
0.009578709490597248,
-0.048596784472465515,
-0.0040835123509168625,
0.02940964512526989,
0.01278389897197485,
-0.011311430484056473,
-... |
698d7183894acc7ddb91207c-3 | 698d7183894acc7ddb91207c | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/node-frameworks/angular | Integrate MongoDB with Angular | ```html
<div class="w-full p-6">
<nav class="flex justify-between items-center mb-6">
<a routerLink="/">
<img
alt="MongoDB logo"
class="h-10 inline"
src="https://d3cy9zhslanhfa.cloudfront.net/media/3800C044-6298-4575-A05D5C6B7623EE37/4B45D0EC-3482-4759-82DA37D8EA07D229/webimage-8A276... | [
0.028881611302495003,
0.010233868844807148,
-0.004359136335551739,
0.07819395512342453,
-0.00406979862600565,
-0.08449026197195053,
0.046373333781957626,
0.014840750023722649,
-0.010471026413142681,
-0.017042484134435654,
0.02313145436346531,
0.011182975955307484,
-0.02267516776919365,
0.0... |
68a95bec5e79d242619d8d38-0 | 68a95bec5e79d242619d8d38 | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers | Start Developing with MongoDB | # Start Developing with MongoDB
You can connect your application to your MongoDB Atlas deployment or a self-hosted MongoDB cluster by using one of the official MongoDB libraries. To learn more about Atlas, see What is MongoDB Atlas?. To learn how to download and install a self-hosted MongoDB cluster, see Install Mongo... | [
-0.04366016760468483,
-0.015231600031256676,
-0.005768212955445051,
0.0402301549911499,
0.049698468297719955,
-0.01661156862974167,
0.010236161760985851,
0.04574282839894295,
-0.031246814876794815,
-0.01921859011054039,
-0.00037907640216872096,
0.00006359640246955678,
-0.03395528718829155,
... |
6937bee7d1b0fc8b0a85b5c3-0 | 6937bee7d1b0fc8b0a85b5c3 | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/node-frameworks/react | Integrate MongoDB with React | # Integrate MongoDB with React
## Overview
In this guide, you can learn how to create a **React** web application that uses the **MERN stack**. The MERN stack is a web development framework that uses MongoDB, Express, React, and Node.js and consists of the following layers:
- **Database layer**: MongoDB provides dat... | [
0.0030070175416767597,
-0.004566290881484747,
0.024173026904463768,
0.06926541030406952,
0.0027337579522281885,
-0.04723408818244934,
-0.006242719013243914,
0.03967010974884033,
-0.06599912792444229,
-0.022005414590239525,
-0.012765128165483475,
0.02607923001050949,
-0.03241702541708946,
0... |
6937bee7d1b0fc8b0a85b5c3-1 | 6937bee7d1b0fc8b0a85b5c3 | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/node-frameworks/react | Integrate MongoDB with React | ### Configure the Server
After setting up the project structure and dependencies, follow the steps in this section to configure your web server and connect to MongoDB.
#### Configure your Express web server
Run the following command from the `react-quickstart/server` directory to create a file named `server.js`:
<T... | [
0.02129886858165264,
-0.007959052920341492,
0.017022425308823586,
0.05539584159851074,
0.02237785793840885,
-0.0619216226041317,
0.022587919607758522,
0.022139839828014374,
-0.06239527836441994,
0.0016397678991779685,
0.029482457786798477,
0.03629107028245926,
-0.04168166220188141,
-0.0139... |
6937bee7d1b0fc8b0a85b5c3-2 | 6937bee7d1b0fc8b0a85b5c3 | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/node-frameworks/react | Integrate MongoDB with React | ### Configure the Client
After setting up the application's server, follow the steps in this section to configure React and add the client components.
#### Add the React template
Navigate to the `react-quickstart` directory. Then, run the following command to add the React template files by using Vite:
```bash
npm ... | [
-0.002934633055701852,
0.012566640041768551,
0.03623632341623306,
0.0704168975353241,
0.00017483759438619018,
-0.053340546786785126,
-0.0010939007624983788,
0.0033325511030852795,
-0.04293639585375786,
0.004492516163736582,
-0.000294767931336537,
0.004465897101908922,
-0.004333902150392532,
... |
6937bee7d1b0fc8b0a85b5c3-3 | 6937bee7d1b0fc8b0a85b5c3 | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/node-frameworks/react | Integrate MongoDB with React | ### Run Your Application
Finally, follow the steps in this section to run your application and view the rendered restaurant data.
#### Run the server application
Navigate to the `react-quickstart/server` directory and run the following command to start the server:
```bash
node --env-file=config.env server
```
If s... | [
0.03541425243020058,
-0.011801723390817642,
0.03168763592839241,
0.08334296196699142,
0.005047143902629614,
-0.04990153759717941,
0.025992272421717644,
0.03961145132780075,
-0.0564667172729969,
-0.02082243375480175,
0.030399594455957413,
0.03775624558329582,
-0.0312223918735981,
0.02947797... |
69609dbf89ef050357dbe5cf-0 | 69609dbf89ef050357dbe5cf | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/node-frameworks/tanstack | Integrate MongoDB with TanStack Start | # Integrate MongoDB with TanStack Start
## Overview
This guide demonstrates how to build a modern web application with TanStack Start and MongoDB. TanStack Start is a full-stack framework that integrates frontend and backend development by using React and popular libraries like TanStack Router and TanStack Query from... | [
-0.0173528790473938,
0.0008024662383832037,
0.05243327468633652,
0.0710892528295517,
-0.015498134307563305,
-0.05097940191626549,
-0.006922821048647165,
0.030436063185334206,
-0.04365956783294678,
0.0013147193240001798,
-0.02735402248799801,
0.01621449738740921,
-0.006568331737071276,
-0.0... |
69609dbf89ef050357dbe5cf-1 | 69609dbf89ef050357dbe5cf | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/node-frameworks/tanstack | Integrate MongoDB with TanStack Start | ### Configure the Back End
After setting up the project structure, follow the steps in this section to set up the backend.
#### Configure your environment variable
Create a `.env` file at the root of your project to securely store your connection URI.
Run the following command in your project root:
```bash
touch .... | [
-0.0012209882261231542,
-0.01668528839945793,
0.028962472453713417,
0.06279540807008743,
-0.021986572071909904,
-0.061010703444480896,
0.009098099544644356,
0.001516874646767974,
-0.05859317258000374,
0.020380811765789986,
-0.0035059484653174877,
0.012659789063036442,
-0.010371590033173561,
... |
69609dbf89ef050357dbe5cf-2 | 69609dbf89ef050357dbe5cf | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/node-frameworks/tanstack | Integrate MongoDB with TanStack Start | ### Configure the Front End
After setting up the database and server layer, follow the steps in this section to complete the data management and presentation layer.
#### Create the header component
Navigate to `src/components/Header.tsx` and replace the content with the following code:
```react
import { Link } from... | [
0.011054704897105694,
0.029545826837420464,
0.025911469012498856,
0.06760882586240768,
-0.011220511980354786,
-0.0562010295689106,
0.020357301458716393,
0.0005296392482705414,
-0.03475626930594444,
0.015286212787032127,
-0.030425338074564934,
0.007765289396047592,
-0.016762983053922653,
0.... |
69609dbf89ef050357dbe5cf-3 | 69609dbf89ef050357dbe5cf | drivers | MongoDB Drivers | https://mongodb.com/docs/drivers/node-frameworks/tanstack | Integrate MongoDB with TanStack Start | You may have red underline warnings in your IDE on the `createFileRoute` lines until you run the server. This is normal. TanStack Router generates the necessary TypeScript type definitions for your routes when you first run the application with `npm run dev`. After the server starts, the warnings will disappear.
#### ... | [
-0.010846429504454136,
-0.019310131669044495,
0.007190525531768799,
0.07802928984165192,
-0.02414066158235073,
-0.07567355781793594,
0.01700885407626629,
0.016817191615700722,
-0.012713657692074776,
0.024344323202967644,
0.00016907014651224017,
0.0069826082326471806,
-0.020745569840073586,
... |
6a514d22d727379c91b99eac-0 | 6a514d22d727379c91b99eac | entity-framework | MongoDB Entity Framework Provider | https://mongodb.com/docs/entity-framework/current/interact-data/write-data | Write Data to MongoDB | # Write Data to MongoDB
## Overview
Entity Framework Core allows you to work with data in your application without explicitly running database commands. You can insert, update, or delete data within your application and persist those changes to MongoDB by using the `SaveChanges()` or `SaveChangesAsync()` method.
Whe... | [
-0.020969809964299202,
-0.0007839052123017609,
0.03224633261561394,
0.007894400507211685,
0.007509990129619837,
0.00012940014130435884,
-0.009797194972634315,
0.04838217422366142,
-0.01671086624264717,
0.020695561543107033,
0.0032371848355978727,
-0.002457032911479473,
-0.03227384760975838,
... |
6a514d22d727379c91b99e9a-0 | 6a514d22d727379c91b99e9a | entity-framework | MongoDB Entity Framework Provider | https://mongodb.com/docs/entity-framework/current/interact-data/queryable-encryption | Configure Queryable Encryption | # Configure Queryable Encryption
In this guide, you can learn how to use the EF Core Provider to encrypt specific document fields by using **Queryable Encryption (QE)**.
## Overview
Queryable Encryption encrypts sensitive document fields at the application layer before writing data to MongoDB, while still allowing y... | [
-0.0016312110237777233,
0.012651456519961357,
0.008515275083482265,
0.004022027365863323,
-0.0032016411423683167,
-0.024269932880997658,
0.03506665676832199,
0.04331235960125923,
0.013827473856508732,
-0.00699966587126255,
-0.05795811116695404,
-0.01807633601129055,
-0.014316552318632603,
... |
6a514d22d727379c91b99e9a-1 | 6a514d22d727379c91b99e9a | entity-framework | MongoDB Entity Framework Provider | https://mongodb.com/docs/entity-framework/current/interact-data/queryable-encryption | Configure Queryable Encryption | ## Server-Side Schema Support
By default, the EF Core Provider applies your field encryption configuration only to the client. Client-only encryption is appropriate during development, when your encryption schema may still be evolving.
For production deployments, register the encryption schema on the server when you ... | [
0.002788639161735773,
0.009183285757899284,
0.02115541696548462,
-0.011334531009197235,
-0.003732165554538369,
-0.044155385345220566,
0.02378258854150772,
0.03765592724084854,
0.0167529433965683,
0.0210124384611845,
-0.05655503645539284,
-0.007650656625628471,
-0.046029720455408096,
-0.009... |
6a514d22d727379c91b99ebf-0 | 6a514d22d727379c91b99ebf | entity-framework | MongoDB Entity Framework Provider | https://mongodb.com/docs/entity-framework/current/reference/upgrade | Upgrade Provider Version | # Upgrade Provider Version
## Overview
In this section, you can identify essential changes you must make to your application when you upgrade your provider to a new version.
Before you upgrade, perform the following actions:
- Ensure the new version is compatible with the MongoDB Server version your application con... | [
-0.0181257426738739,
0.025191139429807663,
0.012117751874029636,
-0.023331910371780396,
-0.022271491587162018,
0.004838418215513229,
-0.016685614362359047,
0.02955324947834015,
-0.019301503896713257,
0.016934340819716454,
-0.042808230966329575,
0.021777233108878136,
-0.0455869659781456,
-0... |
6a514d22d727379c91b99e89-0 | 6a514d22d727379c91b99e89 | entity-framework | MongoDB Entity Framework Provider | https://mongodb.com/docs/entity-framework/current/connect/configure | Configure the EF Core Provider | # Configure the EF Core Provider
In this guide, you will learn how to configure an application to use the MongoDB Entity Framework Core Provider. To learn how to set up a new project and install the EF Core Provider, see the Get Started with the EF Core Provider.
## Create a POCO
Create a Plain old CLR/Class object,... | [
-0.004666067659854889,
-0.002459652256220579,
0.04599492996931076,
0.008269683457911015,
0.03272461146116257,
-0.04171708971261978,
0.03384929895401001,
0.03622303158044815,
-0.010351904667913914,
0.004433886148035526,
0.005688343197107315,
-0.013013501651585102,
-0.024835757911205292,
-0.... |
68a95beb5e79d242619d8c78-0 | 68a95beb5e79d242619d8c78 | entity-framework | MongoDB Entity Framework Provider | https://mongodb.com/docs/entity-framework/current/limitations | Feature Limitations | # Feature Limitations
## Overview
On this page, you can find a list of Entity Framework and MongoDB features that the EF Core Provider does not support. Because the provider is in active development, some features listed on this page might be considered for future releases based on customer demand.
## Unsupported En... | [
-0.04443199560046196,
-0.02106010913848877,
0.023575322702527046,
0.007834103889763355,
0.02243986167013645,
-0.0508628748357296,
0.01938721351325512,
0.061586808413267136,
-0.018184680491685867,
0.000066132124629803,
-0.08243869990110397,
0.0160684734582901,
-0.022095486521720886,
-0.0164... |
6a514d22d727379c91b99e96-0 | 6a514d22d727379c91b99e96 | entity-framework | MongoDB Entity Framework Provider | https://mongodb.com/docs/entity-framework/current/interact-data/query-data | Find and Query Entity Data with LINQ | # Find and Query Entity Data with LINQ
## Overview
Entity Framework Core allows you to work with data in your application without explicitly running database commands. To query your data, use the Language-Integrated Query (LINQ) syntax. LINQ allows you to write strongly typed queries using C#-specific keywords and op... | [
0.004686690401285887,
-0.01374793890863657,
0.04368876665830612,
-0.026868900284171104,
-0.017960544675588608,
-0.030028877779841423,
0.03971279412508011,
0.08437726646661758,
0.003018238116055727,
-0.035249918699264526,
-0.026745693758130074,
-0.0006717606447637081,
0.0020888999570161104,
... |
6a514d22d727379c91b99e96-1 | 6a514d22d727379c91b99e96 | entity-framework | MongoDB Entity Framework Provider | https://mongodb.com/docs/entity-framework/current/interact-data/query-data | Find and Query Entity Data with LINQ | ## Sort Entities
Use the `OrderBy()` method to specify an order in which to return entities from a query. `OrderBy()` sorts the elements in ascending order based on a specified sort criteria.
The following code uses the `OrderBy()` method to find all planets and sort them by the value of the `orderFromSun` field in a... | [
-0.0010147365974262357,
-0.0012885452015325427,
-0.034885015338659286,
-0.008570514619350433,
-0.0025653433986008167,
-0.02564249373972416,
0.000640678801573813,
0.03463872894644737,
0.008682801388204098,
-0.006658925674855709,
-0.04309501871466637,
0.001023228163830936,
-0.00529802357777953... |
6a514d22d727379c91b99e96-2 | 6a514d22d727379c91b99e96 | entity-framework | MongoDB Entity Framework Provider | https://mongodb.com/docs/entity-framework/current/interact-data/query-data | Find and Query Entity Data with LINQ | ### Custom Serialization Conventions
If you register custom BSON serialization conventions on the `MongoClient`, such as camel-case field naming, those conventions can change the field names stored in MongoDB so that they differ from the property names in your entity model. The EF Core Provider uses entity property na... | [
0.006239517591893673,
-0.017649825662374496,
0.030568264424800873,
0.016828671097755432,
0.012048808857798576,
-0.07649633288383484,
0.006585273891687393,
0.04927770048379898,
0.010019799694418907,
-0.002662303391844034,
-0.03387866169214249,
-0.030131373554468155,
-0.03414793685078621,
0.... |
6a514d22d727379c91b99eb1-0 | 6a514d22d727379c91b99eb1 | entity-framework | MongoDB Entity Framework Provider | https://mongodb.com/docs/entity-framework/current/model-data/optimistic-concurrency | Ensure Data Consistency with Optimistic Concurrency | # Ensure Data Consistency with Optimistic Concurrency
## Overview
In this guide, you can learn how to use **optimistic concurrency control** with the EF Core Provider. Optimistic concurrency control ensures that data is not overwritten between the time an application reads it and the time the application writes it ba... | [
-0.033603765070438385,
0.0032921889796853065,
0.05344647541642189,
0.03531033918261528,
0.035733867436647415,
-0.00422659981995821,
0.0061672888696193695,
0.045467015355825424,
0.0049444218166172504,
0.007151911035180092,
0.0001592034677742049,
0.005291180219501257,
0.011294492520391941,
0... |
6a514d22d727379c91b99ebc-0 | 6a514d22d727379c91b99ebc | entity-framework | MongoDB Entity Framework Provider | https://mongodb.com/docs/entity-framework/current/reference/faq | FAQ | # FAQ
This page contains frequently asked questions and their corresponding answers.
If you can't find an answer to your problem on this page, see the Report Issues and Request Help page for next steps and more resources.
## What is the Difference Between the .NET/C# Driver and the EF Core Provider?
The MongoDB .NE... | [
0.0006494297413155437,
-0.0034343197476118803,
0.05861717835068703,
0.004572403617203236,
0.017765184864401817,
-0.052869025617837906,
0.020116334781050682,
0.07896383851766586,
-0.02938929758965969,
0.0085558807477355,
-0.05601624399423599,
-0.01485389657318592,
-0.018144218251109123,
-0.... |
6a514d22d727379c91b99e92-0 | 6a514d22d727379c91b99e92 | entity-framework | MongoDB Entity Framework Provider | https://mongodb.com/docs/entity-framework/current/interact-data/atlas-vector-search | Run an Atlas Vector Search Query | # Run an Atlas Vector Search Query
## Overview
You can use MongoDB Vector Search with the EF Core Provider to perform semantic search on data stored in Atlas. Vector search queries your data based on semantic meaning rather than keyword matches, allowing you to retrieve more relevant results. You can use MongoDB Vect... | [
0.04411584511399269,
0.00609523756429553,
0.0616278201341629,
-0.00295288790948689,
0.017519259825348854,
-0.001204386237077415,
0.025571975857019424,
0.04823171719908714,
-0.020661843940615654,
0.023373516276478767,
-0.06818906962871552,
0.008350562304258347,
-0.03656396642327309,
-0.0007... |
6a514d22d727379c91b99e8b-0 | 6a514d22d727379c91b99e8b | entity-framework | MongoDB Entity Framework Provider | https://mongodb.com/docs/entity-framework/current/get-started | Get Started with the EF Core Provider | # Get Started with the EF Core Provider
This guide shows you how to create a .NET application that uses the EF Core Provider to connect to a **MongoDB Atlas cluster**. If you prefer to connect to MongoDB using another programming language, see our list of official MongoDB drivers.
The EF Core Provider simplifies oper... | [
-0.001241397112607956,
-0.015031306073069572,
0.06442379951477051,
0.005652571562677622,
0.0019591795280575752,
-0.06837243586778641,
0.03309578821063042,
0.06514763087034225,
-0.02043263427913189,
-0.0002484660944901407,
-0.02872403897345066,
-0.009169049561023712,
-0.036176227033138275,
... |
699fe5cda6fa0684a38c2add-0 | 699fe5cda6fa0684a38c2add | golang | Go Driver | https://mongodb.com/docs/drivers/go/current/crud/query/distinct | Retrieve Distinct Values | # Retrieve Distinct Values
## Overview
In this guide, you can learn how to retrieve distinct values for a specified field across a single collection.
### Sample Data
The example in this guide uses the following `Course` struct as a model for documents in the `courses` collection:
```go
type Course struct {
Title ... | [
-0.014923030510544777,
-0.01845390349626541,
0.009633003734052181,
0.021207531914114952,
0.007678098976612091,
-0.03970532491803169,
-0.03467481955885887,
0.032135218381881714,
-0.01929638907313347,
-0.037927668541669846,
-0.018384240567684174,
-0.04035622254014015,
-0.02932751551270485,
0... |
699fe5cda6fa0684a38c2b39-0 | 699fe5cda6fa0684a38c2b39 | golang | Go Driver | https://mongodb.com/docs/drivers/go/current/reference/release-notes | Release Notes | # Release Notes
To learn more about changes and updates between versions, you can read the release notes published with the driver source code.
Learn what's new in:
- Version 2.9.2
- Version 2.9.1
- Version 2.9
- Version 2.8.2
- Version 2.8.1
- Version 2.8
- Version 2.7
- Version 2.6
- Version 2.5.1
- Versi... | [
-0.033186737447977066,
0.008178304880857468,
-0.011411778628826141,
0.0002529674966353923,
-0.00026052023167721927,
-0.0010499466443434358,
-0.024384813383221626,
0.0018859715200960636,
-0.05798416957259178,
-0.012880409136414528,
-0.03227677196264267,
-0.024107452481985092,
-0.0330060385167... |
699fe5cda6fa0684a38c2b39-1 | 699fe5cda6fa0684a38c2b39 | golang | Go Driver | https://mongodb.com/docs/drivers/go/current/reference/release-notes | Release Notes | ## What's New in 2.5
This release includes the following improvements and fixes:
- Adds a preview of CRUD support for Queryable Encryption prefix, suffix, and substring indexes. These features are are unstable and their security is not guaranteed until released as Generally Available (GA). The GA version of these fea... | [
-0.03748394176363945,
0.02494921162724495,
-0.019499102607369423,
0.03252844884991646,
0.018067898228764534,
0.025703808292746544,
-0.02191600389778614,
0.025446424260735512,
-0.05648953467607498,
-0.0020593476947396994,
-0.029547065496444702,
-0.010205083526670933,
-0.02236793003976345,
-... |
699fe5cda6fa0684a38c2b39-2 | 699fe5cda6fa0684a38c2b39 | golang | Go Driver | https://mongodb.com/docs/drivers/go/current/reference/release-notes | Release Notes | ## What's New in 2.0
The 2.0 Go driver release supports OpenID Connect (OIDC) authentication, provides a smoother client-side operations timeout (CSOT) experience, and implements clearer, more idiomatic Go code by streamlining APIs, improving errors descriptions, and simplifying the driver package structure.
You can ... | [
-0.048330046236515045,
0.025585491210222244,
-0.047780781984329224,
0.01834239810705185,
-0.007944847457110882,
-0.009402340278029442,
-0.0055806878954172134,
0.0329439677298069,
-0.033906836062669754,
-0.011515842750668526,
-0.03328370675444603,
-0.04109720513224602,
-0.022175662219524384,
... |
699fe5cda6fa0684a38c2b39-3 | 699fe5cda6fa0684a38c2b39 | golang | Go Driver | https://mongodb.com/docs/drivers/go/current/reference/release-notes | Release Notes | ## What's New in 1.13
The 1.13 Go driver release includes the following improvements and fixes:
- Logging for server selection and SDAM. To learn more about logging, see the Logging documentation.
- Methods on the `Collection` type that allow you to manage search indexes programmatically.
- The `event.CommandStarte... | [
-0.044048938900232315,
0.010248535312712193,
-0.0452420637011528,
0.01111720409244299,
0.0020565767772495747,
-0.001434772158972919,
-0.04051458090543747,
0.05152367055416107,
-0.05542658269405365,
-0.00494450144469738,
-0.04795118793845177,
-0.010309247300028801,
-0.048305444419384,
-0.02... |
699fe5cda6fa0684a38c2aa6-0 | 699fe5cda6fa0684a38c2aa6 | golang | Go Driver | https://mongodb.com/docs/drivers/go/current/connect/connection-troubleshooting | Connection Troubleshooting | # Connection Troubleshooting
This page offers potential solutions to issues you might encounter when using the MongoDB Go Driver to connect to a MongoDB deployment.
This page addresses only connection issues. If you encounter any other issues with MongoDB or the driver, visit the following resources:
- The Issues & ... | [
-0.018100088462233543,
-0.008885829709470272,
0.017403051257133484,
0.04182559251785278,
0.016753720119595528,
-0.05821540951728821,
0.007100817281752825,
0.03195377066731453,
-0.0617978610098362,
-0.0007052142755128443,
0.010498253628611565,
0.0010404448257759213,
-0.03360651433467865,
0.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.