[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-18。"],[],[],null,["# Firestore with MongoDB compatibility overview\n=============================================\n\nFirestore with MongoDB compatibility enables developers to use existing MongoDB application code,\ndrivers, tools, and the open-source ecosystem of MongoDB integrations with\nFirestore.\n\nFirestore offers a differentiated serverless document database service, featuring multi-region replication with strong consistency, virtually unlimited scalability, industry-leading high availability of up to 99.999% SLA, and\nsingle-digit milliseconds read performance.\n\nFirestore with MongoDB compatibility is available as part of [Firestore Enterprise edition](/firestore/native/docs/editions-overview).\n\nKey Capabilities\n================\n\nFirestore with MongoDB compatibility offers a number of key capabilities:\n\nHow does it work?\n-----------------\n\nFirestore is a cloud-first, NoSQL document database offering MongoDB\ncompatibility.\n\nFollowing the Firestore with MongoDB compatibility data model, you store data\nin documents that contain fields mapping to values. These documents are stored\nin collections, which are containers for your documents that you can use to\norganize your data and build queries. Documents support many different\n[data types](/firestore/mongodb-compatibility/docs/supported-data-types-drivers), from strings and numbers, to complex, embedded objects.\n\nAdditionally, querying in Firestore is expressive, efficient, and flexible.\nYou can use standard MongoDB driver or the MongoDB Query Language (MQL).\nYou can create shallow queries to retrieve data at the document level without needing to\nretrieve the entire collection, and add sorting, filtering, and limits to your\nqueries or cursors to paginate your results.\n\nFinally, Firestore with MongoDB compatibility is fully integrated with Google Cloud governance\nservices including\n[Identity and Access Management (IAM)](/firestore/mongodb-compatibility/docs/security/iam)\nCloud Monitoring, and Cloud Audit Logs.\n\nWhat's next\n-----------\n\n- [Get started with Firestore with MongoDB compatibility](/firestore/mongodb-compatibility/docs/create-and-query-database)"]]