现已推出具有 MongoDB 兼容性的 Firestore 企业版!
了解详情。
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Cloud Firestore
plat_ios
plat_android
plat_web
plat_flutter
plat_cpp
plat_unity
plat_node
plat_java
plat_python
plat_go
Google Cloud ürünlerine dair
Google Cloud altyapısında istemci ve istemciler için verileri depolamak ve
sunucu tarafı geliştirmeleridir.
Cloud Firestore; mobil, web ve site bağlantıları için esnek ve ölçeklenebilir
Google Cloud. Beğenme
Firebase Realtime Database, verilerinizi istemci uygulamaları arasında senkronize eder.
gerçek zamanlı dinleyiciler sunar ve mobil ve web için çevrimdışı destek sunar; böylece
ağ gecikmesinden veya internetten bağımsız olarak çalışan duyarlı uygulamalar geliştirme
yardımcı olur. Cloud Firestore, diğer Firebase ile sorunsuz entegrasyon da sunar
ve Cloud Functions dahil Google Cloud ürün.
Kullanmaya başlama
Temel özellikler
Esneklik |
Cloud Firestore veri modeli esnek, hiyerarşik veri yapılarını destekler.
Verilerinizi koleksiyonlar halinde düzenlenmiş şekilde dokümanlarda depolayın. Dokümanlar
alt koleksiyonlara ek olarak karmaşık iç içe yerleştirilmiş nesneler içerebilir.
|
İfadeli sorgulama |
Cloud Firestore ürününde bireysel, kullanıcı verisi,
koleksiyonundaki tüm dokümanları almak için
sorgu parametrelerinizle eşleşecektir. Sorgularınız birden fazla zincirleme veya
filtreleme ve sıralamayı birleştirebilirsiniz. Ayrıca varsayılan olarak dizine eklenir.
bu nedenle sorgu performansı sonuç kümenizin boyutuyla orantılıdır,
yardımcı olur.
|
Gerçek zamanlı güncellemeler |
Realtime Database gibi, Cloud Firestore de aşağıdaki cihazlardaki verileri güncellemek için veri senkronizasyonunu kullanır
tüm bağlı cihazlarda kullanabilirsiniz. Ancak aynı zamanda bir defaya mahsus olmak üzere
getirmenin farklı bir yoludur.
|
Çevrimdışı destek |
Cloud Firestore, uygulamanızın etkin olarak kullandığı verileri önbelleğe alarak uygulamanın yazma,
Cihaz çevrimdışı olsa bile verileri okuma, dinleme ve sorgulama.
cihaz tekrar çevrimiçi olur, Cloud Firestore tüm yerel değişiklikleri senkronize eder
Cloud Firestore numaralı telefona.
|
Ölçeklenmek üzere tasarlandı |
Cloud Firestore, Google Cloud ürününün en iyi özelliklerini sunar
altyapı: otomatik çok bölgeli veri çoğaltma, güçlü
tutarlılık garantileri, atomik toplu işlemler ve gerçek işlem
destek. Cloud Firestore uygulamasını en zorlu veritabanlarına uygun şekilde tasarladık
iş yükü ve iş yükü anlamına gelir.
|
Nasıl çalışır?

Cloud Firestore; Apple, Android ve web hesaplarınızın bulutta barındırılan NoSQL veritabanıdır.
uygulamalara doğrudan yerel SDK'lar aracılığıyla erişebilir. Cloud Firestore mevcut
yerel Node.js, Java, Python, Unity, C++ ve Go SDK'larında, REST ve
RPC API'leri.
Cloud Firestore'ın NoSQL veri modelini izleyerek verileri şu dokümanlarda depolarsınız:
değerlerle eşlenen alanlar içerir. Bu dokümanlar şurada depolanır:
koleksiyonlarınız bunlardır. Dokümanlarınızın depolama alanını
verilerinizi düzenlemenize ve sorgu oluşturmanıza olanak tanır. Dokümanlar birçok farklı özelliği destekler.
veri türlerini karşılaştırabilirsiniz.
nesneleri ifade eder. Ayrıca, birden çok konumda
oluşturduğunuz bu belgeyi daha kapsamlı bir şekilde
büyür. Cloud Firestore veri modeli her
en iyi sonucu verir.
Ayrıca Cloud Firestore dilindeki sorgular etkileyici, verimli ve esnektir.
Belge düzeyinde veri almak için sığ sorgular oluşturun.
koleksiyonun tamamını veya iç içe yerleştirilmiş alt koleksiyonları alabilirsiniz. Sıralama ekle,
filtre uygulayabilir ve sorgularınızı ya da imleçlerinizi
sonuçlarınızı sayfalara ayırabilirsiniz. Uygulamalarınızdaki verileri getirmeden güncel tutmak için
her güncelleme gerçekleştiğinde veritabanınızın tamamına gerçek zamanlı dinleyiciler ekleyin.
Uygulamanıza gerçek zamanlı dinleyiciler eklediğinizde, her seferinde veri anlık görüntüsüyle
istemci uygulamalarınızın değişiklikleri dinlediği veriler, yalnızca yeni
anlamına gelir.
Firebase Authentication ve Cloud Firestore ile verilerinize erişimi koruyun
Android, Apple platformları ve JavaScript veya Identity için Cloud Firestore Security Rules
ve Access Management (IAM) özelliklerini kullanabilirsiniz.
Uygulama yolu
|
Cloud Firestore SDK'larını entegre edin |
Gradle, CocoaPods veya komut dosyası ekleme yoluyla müşterileri hızlıca ekleyin. |
|
Verilerinizin güvenliğini sağlayın |
Güvenliği sağlamak için Cloud Firestore Security Rules veya Identity and Access Management (IAM) kullanın
mobil/web ve sunucu geliştirme için verileriniz. |
|
Veri Ekleyin |
Veritabanınızda dokümanlar ve koleksiyonlar oluşturun. |
|
Veri Al |
Sorgu oluşturun veya
|
Sonraki adımlar
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-08-17 UTC.
[null,null,["Son güncelleme tarihi: 2025-08-17 UTC."],[],[],null,["Cloud Firestore \nplat_ios plat_android plat_web plat_flutter plat_cpp plat_unity plat_node plat_java plat_python plat_go \nUse our flexible, scalable NoSQL cloud database, built\non Google Cloud infrastructure, to store and sync data for client- and\nserver-side development. \n\nCloud Firestore is a flexible, scalable database for mobile, web,\nand server development from Firebase and Google Cloud. Like\nFirebase Realtime Database, it keeps your data in sync across client apps through\nrealtime listeners and offers offline support for mobile and web so you can\nbuild responsive apps that work regardless of network latency or Internet\nconnectivity. Cloud Firestore also offers seamless integration with other Firebase\nand Google Cloud products, including Cloud Functions.\n\n[Get started](/docs/firestore/quickstart)\n\nKey capabilities\n\n|---------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Flexibility | The Cloud Firestore data model supports flexible, hierarchical data structures. Store your data in documents, organized into collections. Documents can contain complex nested objects in addition to subcollections. |\n| Expressive querying | In Cloud Firestore, you can use queries to retrieve individual, specific documents or to retrieve all the documents in a collection that match your query parameters. Your queries can include multiple, chained filters and combine filtering and sorting. They're also indexed by default, so query performance is proportional to the size of your result set, not your data set. |\n| Realtime updates | Like Realtime Database, Cloud Firestore uses data synchronization to update data on any connected device. However, it's also designed to make simple, one-time fetch queries efficiently. |\n| Offline support | Cloud Firestore caches data that your app is actively using, so the app can write, read, listen to, and query data even if the device is offline. When the device comes back online, Cloud Firestore synchronizes any local changes back to Cloud Firestore. |\n| Designed to scale | Cloud Firestore brings you the best of Google Cloud's powerful infrastructure: automatic multi-region data replication, strong consistency guarantees, atomic batch operations, and real transaction support. We've designed Cloud Firestore to handle the toughest database workloads from the world's biggest apps. |\n\nHow does it work?\n\nCloud Firestore is a cloud-hosted, NoSQL database that your Apple, Android, and web\napps can access directly via native SDKs. Cloud Firestore is also available\nin native Node.js, Java, Python, Unity, C++ and Go SDKs, in addition to REST and\nRPC APIs.\n\nFollowing Cloud Firestore's NoSQL data model, you store data in documents that\ncontain fields mapping to values. These documents are stored in\ncollections, which are containers for your documents that you can use to\norganize your data and build queries. Documents support many different\n[data types](/docs/firestore/manage-data/data-types), from simple strings and numbers, to\ncomplex, nested objects. You can also create subcollections within\ndocuments and build hierarchical data structures that scale as your\ndatabase grows. The Cloud Firestore [data model](/docs/firestore/data-model) supports whatever\ndata structure works best for your app.\n\nAdditionally, querying in Cloud Firestore is expressive, efficient, and flexible.\nCreate shallow queries to retrieve data at the document level without needing to\nretrieve the entire collection, or any nested subcollections. Add sorting,\nfiltering, and limits to your queries or cursors to\npaginate your results. To keep data in your apps current, without retrieving\nyour entire database each time an update happens, add realtime listeners.\nAdding realtime listeners to your app notifies you with a data snapshot whenever\nthe data your client apps are listening to changes, retrieving only the new\nchanges.\n\nProtect access to your data in Cloud Firestore with Firebase Authentication and\nCloud Firestore Security Rules for Android, Apple platforms, and JavaScript, or Identity\nand Access Management (IAM) for server-side languages.\n\nImplementation path\n\n|---|------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------|\n| | Integrate the Cloud Firestore SDKs | Quickly include clients via Gradle, CocoaPods, or a script include. |\n| | Secure your data | Use Cloud Firestore Security Rules or Identity and Access Management (IAM) to secure your data for mobile/web and server development, respectively. |\n| | Add Data | Create documents and collections in your database. |\n| | Get Data | Create queries or use realtime listeners to retrieve data from the database. |\n\nNext steps\n\n- [Get started](/docs/firestore/quickstart) with Cloud Firestore --- set up your database, then add data and start reading it.\n- Learn more about the Cloud Firestore [data model](/docs/firestore/data-model).\n- Explore the [differences between Realtime Database and Cloud Firestore](/docs/firestore/rtdb-vs-firestore)."]]