id
stringlengths
16
145
text
stringlengths
1
179k
title
stringclasses
1 value
firebase/multiple-range-fields5_104_0.txt
* Overview * iOS * Android * Manage hosted custom models * Use a custom TensorFlow Lite build
firebase/queries4_438_0.txt
##### Objective-C FIRCollectionReference *collection = [self.db collectionWithPath:@"cities"]; FIRQuery *query = [collection queryWhereFilter:[FIRFilter orFilterWithFilters:@[ [FIRFilter filterWhereField:@"capital" isEqualTo:@YES], [FIRFilter filterWhereField:@"population" is...
firebase/queries4_256_0.txt
final citiesRef = db.collection("cities"); final notCapitals = citiesRef.where("capital", isNotEqualTo: true); firestore.dart ##### Java
firebase/multiple-range-fields5_44_0.txt
* Read data * Get data * Get real-time updates * Perform simple and compound queries * Order and limit data * Query with range & inequality filters on multiple fields
firebase/queries4_395_0.txt
### Web modular API Learn more about the tree-shakeable modular Web API and upgrade from the namespaced API.
firebase/multiple-range-fields5_50_0.txt
* Back up and restore data * Disaster recovery planning * Schedule backups and restore data * Point-in-time recovery (PITR) overview * Work with point-in-time recovery (PITR)
firebase/firestore_2_3.txt
auth/cpp/password-auth) * [ Google ](/docs/auth/cpp/google-signin) * [ Play Games Sign-in ](/docs/auth/cpp/play-games) * [ GitHub ](/docs/auth/cpp/github-auth) * [ Facebook Login ](/docs/auth/cpp/facebook-login) * [ Sign in with Apple ](/docs/auth/cpp/apple) * [ Twitter Login ]...
firebase/firestore_2_9.txt
, then deploy ](/docs/hosting/test-preview-deploy) * [ Deploy via GitHub pull requests ](/docs/hosting/github-integration) * [ Share project resources across multiple sites ](/docs/hosting/multisites) * [ Connect a custom domain ](/docs/hosting/custom-domain) * [ Configure hosting behavior ](/docs/...
firebase/queries4_174_0.txt
##### Java // Create a reference to the cities collection CollectionReference cities = db.collection("cities"); // Create a query against the collection. Query query = cities.whereEqualTo("state", "CA"); // retrieve query results asynchronously using query.get() ApiFuture<QuerySnaps...
firebase/queries4_267_0.txt
Warning: A ` != ` query clause might match many documents in a collection. To control the number of results returned, use a limit clause or paginate your query . #### Limitations
firebase/multiple-range-fields5_169_0.txt
* Learn about optimizing your queries . * Learn more about performing simple and compound queries . * Understand how Cloud Firestore uses indexes . Send feedback
firebase/queries4_482_0.txt
CollectionReference citiesRef = db.collection("cities"); Map<String, Object> ggbData = new HashMap<>(); ggbData.put("name", "Golden Gate Bridge"); ggbData.put("type", "bridge"); citiesRef.document("SF").collection("landmarks").add(ggbData); Map<String, Object> lohData = new H...
firebase/queries4_47_0.txt
* Solutions * Overview * Solutions using Firebase Extensions
firebase/firestore_0_10.txt
* [ Node.js Test SDK ](/docs/reference/functions/test/test) * [ Python ](/docs/reference/functions/2nd-gen/python) * [ Protocol specification for https.onCall ](/docs/functions/callable-reference) * [ Cloud Functions and Firebase ](/docs/functions/functions-and-firebase) * [ Cloud Functions...
firebase/multiple-range-fields5_70_0.txt
* Get Started * Create a Reference * Upload Files * Download Files * Use File Metadata * Delete Files * List Files * Handle Errors * Admin
firebase/queries4_294_0.txt
##### Swift Note: This product is not available on watchOS and App Clip targets.
firebase/firestore-query-filter-compound-multi-eq5_33_0.txt
### Node.js To authenticate to Firestore, set up Application Default Credentials. For more information, see Set up authentication for a local development environment .
firebase/queries4_462_0.txt
##### Python Snippet not available.
firebase/multiple-range-fields5_23_0.txt
* Crashlytics * Performance Monitoring
firebase/queries4_11_0.txt
* Add Firebase - Apple platforms (iOS+) * Add Firebase - Android
firebase/queries4_75_0.txt
* Machine Learning * Introduction * Codelabs * Custom Models
firebase/queries4_127_0.txt
* Use the debug provider in iOS+ * Use the debug provider in Android * Use the debug provider in web apps * Use the debug provider with Flutter * Use the debug provider with C++ * Use the debug provider in Unity apps * Monitor request metrics
firebase/queries4_113_0.txt
* Introduction * 1st and 2nd gen version comparison * Explore use cases * Get started * Upgrade to 2nd gen * Call functions directly * Call functions from your app * Call functions via HTTP requests * Enqueue functions with Cloud Tasks * Run functions on a sched...
firebase/queries4_528_0.txt
| 20 query(collectionRef, and( where("a", "in", [1, 2, 3, 4, 5]), or( where("b", "==", 2), where("c", "==", 3) ) ) ) | 10 ## ` orderBy ` and existence
firebase/performance_monitoring_3_3.txt
cs/app-distribution/troubleshooting) * Related products * [ Analytics ](//firebase.google.com/docs/analytics/) * [ Remote Config ](//firebase.google.com/docs/remote-config/) * [ Build ](/products-build) * [ Release & Monitor ](/products-release) * [ Engage ](/products-engage) * [ Overview ](/do...
firebase/queries4_250_0.txt
citiesRef.where("capital", "!=", false); test.firestore.js ##### Swift
firebase/queries4_297_0.txt
### Kotlin+KTX val citiesRef = db.collection("cities") citiesRef.whereIn("country", listOf("USA", "Japan")) DocSnippets.kt
firebase/queries4_280_0.txt
##### Python cities_ref = db.collection("cities") query = cities_ref.where( filter=FieldFilter("regions", "array_contains", "west_coast") ) snippets.py
firebase/queries4_304_0.txt
##### Node.js const usaOrJapan = await citiesRef.where('country', 'in', ['USA', 'Japan']).get(); index.js
firebase/firestore_3_4.txt
t) * [ Manage data retention with time-to-live policies ](/docs/firestore/ttl) * [ Process data in bulk with Dataflow ](/docs/firestore/dataflow-connector) * [ Move data between projects ](/docs/firestore/manage-data/move-data) * Read data * [ Get data ](/docs/firestore/query-data/get...
firebase/queries4_137_0.txt
* Build * Release & Monitor * Engage * Overview * Fundamentals * Build * Release & Monitor * Engage * Reference * Samples
firebase/queries4_196_0.txt
cities_ref = db.collection("cities") query = cities_ref.where(filter=FieldFilter("capital", "==", True)) snippets.py ##### C++
firebase/queries4_9_0.txt
* English * Deutsch * Español * Español – América Latina * Français * Indonesia * Italiano * Polski * Português * Português – Brasil * Tiếng Việt * Türkçe * Русский * עברית * العربيّة * فارسی * हिंदी * বাংলা * ภาษาไทย * 中文 – 简体 * 中文 – 繁體 * 日本語 * 한국어 ...
firebase/queries4_192_0.txt
Query capitalCities = db.collection("cities").whereEqualTo("capital", true); DocSnippets.java ### Dart
firebase/queries4_257_0.txt
CollectionReference citiesRef = db.collection("cities"); Query query = citiesRef.whereNotEqualTo("capital", false); QueryDataSnippets.java ##### Python
firebase/queries4_341_0.txt
##### Java CollectionReference citiesRef = db.collection("cities"); Query query = citiesRef.whereArrayContainsAny("regions", Arrays.asList("west_coast", "east_coast")); QueryDataSnippets.java
firebase/firestore_1_5.txt
t-practices) * [ Map data with Swift Codable ](/docs/firestore/solutions/swift-codable-data-mapping) * [ Understand reads and writes at scale ](/docs/firestore/understand-reads-writes-scale) * [ Understand real-time queries at scale ](/docs/firestore/real-time_queries_at_scale) * Cloud Firesto...
firebase/multiple-range-fields5_101_0.txt
* Translate text * Overview * iOS * Android * Usage guidelines
firebase/performance_monitoring_2_3.txt
cs/app-distribution/troubleshooting) * Related products * [ Analytics ](//firebase.google.com/docs/analytics/) * [ Remote Config ](//firebase.google.com/docs/remote-config/) * [ Build ](/products-build) * [ Release & Monitor ](/products-release) * [ Engage ](/products-engage) * [ Overview ](/do...
firebase/queries4_207_0.txt
db.collection("cities").where("capital", "==", true) .get() .then((querySnapshot) => { querySnapshot.forEach((doc) => { // doc.data() is never undefined for query doc snapshots console.log(doc.id, " => ", doc.data()); }); }) ...
firebase/firestore-query-filter-compound-multi-eq5_44_0.txt
* About Google * Privacy * Site terms * Google Cloud terms * Manage cookies * Our third decade of climate action: join us * Sign up for the Google Cloud newsletter Subscribe * English * Deutsch * Español – América Latina * Français * Indonesia * Italiano * Português – Brasil ...
firebase/firestore_1_11.txt
* [ Introduction ](/docs/extensions) * [ Use case examples ](/docs/extensions/samples) * Use an extension in your project * [ Overview ](/docs/extensions/overview-use-extensions) * [ Install an extension ](/docs/extensions/install-extensions) * [ Manage installed extensions ](/docs/extens...
firebase/multiple-range-fields5_15_0.txt
* Supported platforms & frameworks * Use Emulator Suite
firebase/queries4_461_0.txt
##### Java Snippet not available.
firebase/queries4_301_0.txt
##### Python cities_ref = db.collection("cities") query = cities_ref.where(filter=FieldFilter("country", "in", ["USA", "Japan"])) return query snippets.py
firebase/queries4_480_0.txt
FIRCollectionReference *citiesRef = [self.db collectionWithPath:@"cities"]; NSDictionary *data = @{@"name": @"Golden Gate Bridge", @"type": @"bridge"}; [[[citiesRef documentWithPath:@"SF"] collectionWithPath:@"landmarks"] addDocumentWithData:data]; data = @{@"name": @"Legion of Honor...
firebase/queries4_309_0.txt
##### Ruby cities_ref = firestore.col collection_path usr_or_japan = cities_ref.where "country", "in", ["USA", "Japan"] query_data.rb
firebase/queries4_87_0.txt
* iOS+ * Android * Migrate datasets * Advanced Topics
firebase/multiple-range-fields5_55_0.txt
* Realtime Database * Introduction * Choose a Database * iOS+
firebase/queries4_74_0.txt
* Understand Security * Get Started * Structure Security Rules * Write Conditions for Security Rules * Monitor activity * Extend with Cloud Functions * Integrate with Google Cloud
firebase/queries4_354_0.txt
import { query, where } from "firebase/firestore"; const q = query(citiesRef, where('regions', 'in', [['west_coast'], ['east_coast']])); in_filter_with_array.js ### Web namespaced API
firebase/queries4_6_0.txt
* Samples Community
firebase/queries4_121_0.txt
* Write Security Rules * Basic Security Rules * Avoid insecure rules * Data validation
firebase/performance_monitoring_4_5.txt
s-web/blob/a9160f62f8ebff02285779974620ad3ff260f5ac/snippets/perf-next/index/perf_add_custom_attributes.js#L8-L23) ### Web namespaced API const trace = perf.trace("test_trace"); trace.putAttribute("experiment", "A"); // Update scenario trace.putAttribute("experiment", "B"); //...
firebase/firestore-query-filter-compound-multi-eq5_17_0.txt
* Google Cloud Solution Center * Google Cloud Support
firebase/firestore_3_16.txt
e.cloud.google.com/projectselector/apis/credentials) . export GOOGLE_APPLICATION_CREDENTIALS="path/to/your/keyfile.json" * In your production environment, you do not need to authenticate if you run your application on App Engine or Compute Engine, using the same project that you use for ...
firebase/multiple-range-fields5_48_0.txt
* Integrate with BigQuery * Implement an AI-driven chatbot * Enrich handling of text * Enhance value of media * Solutions using guided custom implementations * Firestore Lite Web SDK * Write-time aggregations * Distributed counters * Full-text search ...
firebase/firestore-data-filter-by-date-android-java9_38_0.txt
private final FirebaseFirestore db = FirebaseFirestore.getInstance(); db.collection(collection).whereEqualTo(field, value).get(); field can be "created_on" and value can be today's date. There is also a provision to use other comparisons such as greater than or less than. The below link expla...
firebase/firestore_3_8.txt
id/detect-objects-with-automl) * [ Migrate datasets ](/docs/ml/migrate-automl-datasets) * Advanced Topics * A/B test two versions of a model * [ iOS+ ](/docs/ml/ios/ab-test-models) * [ Android ](/docs/ml/android/ab-test-models) * Prepare for Production * Protect your Cloud cre...
firebase/queries4_442_0.txt
##### Java Snippet not available.
firebase/queries4_231_0.txt
Note: This product is not available on watchOS and App Clip targets. let stateQuery = citiesRef.whereField("state", isEqualTo: "CA") let populationQuery = citiesRef.whereField("population", isLessThan: 100000) let nameQuery = citiesRef.whereField("name", isGreaterThanOrEqualTo: "San Francisco") ...
firebase/queries4_320_0.txt
final citiesRef = db.collection("cities"); final cities = citiesRef.where("country", whereNotIn: ["USA", "Japan"]); firestore.dart ##### Java
firebase/queries4_35_0.txt
* Android * Sign in with a pre-built UI * Get Started * Manage Users * Password Authentication * Email Link Authentication * Google * Facebook Login * Sign in with Apple * Twitter * GitHub * Microsoft * Yahoo * Play Games Si...
firebase/queries4_357_0.txt
citiesRef.whereField("regions", in: [["west_coast"], ["east_coast"]]) ViewController.swift ##### Objective-C
firebase/multiple-range-fields5_11_0.txt
* Add Firebase - Apple platforms (iOS+) * Add Firebase - Android
firebase/multiple-range-fields5_3_0.txt
* Overview * Fundamentals
firebase/queries4_89_0.txt
* Prepare for Production * Protect your Cloud credentials
firebase/firestore_0_6.txt
a) * [ Save Data ](/docs/database/admin/save-data) * [ Retrieve Data ](/docs/database/admin/retrieve-data) * REST * [ Get Started ](/docs/database/rest/start) * [ Structure Data ](/docs/database/rest/structure-data) * [ Save Data ](/docs/database/rest/save-data) * [ Retri...
firebase/queries4_338_0.txt
### Kotlin+KTX val citiesRef = db.collection("cities") citiesRef.whereArrayContainsAny("regions", listOf("west_coast", "east_coast")) DocSnippets.kt
firebase/multiple-range-fields5_39_0.txt
* Unity * Get Started * Manage Users * Password Authentication * Google * Play Games Sign-in * GitHub Authentication * Facebook Login * Sign in with Apple * Twitter Login * Microsoft * Yahoo * Phone Number * Use a Custom Aut...
firebase/queries4_216_0.txt
# Note: Use of CollectionRef stream() is prefered to get() docs = ( db.collection("cities") .where(filter=FieldFilter("capital", "==", True)) .stream() ) async for doc in docs: print(f"{doc.id} => {doc.to_dict()}") snippets.py ##### C++
firebase/queries4_222_0.txt
Query capitalQuery = db.Collection("cities").WhereEqualTo("Capital", true); capitalQuery.GetSnapshotAsync().ContinueWithOnMainThread(task => { QuerySnapshot capitalQuerySnapshot = task.Result; foreach (DocumentSnapshot documentSnapshot in capitalQuerySnapshot.Documents) { Debug.Log...
firebase/firestore-data-filter-by-date-android-java9_2_0.txt
Loading… 1. ### current community
firebase/queries4_474_0.txt
For example, you can create a ` landmarks ` collection group by adding a landmarks subcollection to each city: ### Web modular API
firebase/queries4_67_0.txt
* Get Started * Create a Reference * Upload Files * Download Files * Use File Metadata * Delete Files * List Files * Handle Errors * Android
firebase/firestore_4_2.txt
* [ Get Started ](/docs/auth/android/start) * [ Manage Users ](/docs/auth/android/manage-users) * [ Password Authentication ](/docs/auth/android/password-auth) * [ Email Link Authentication ](/docs/auth/android/email-link-auth) * [ Google ](/docs/auth/android/google-signin) * [ F...
firebase/firestore-query-filter-compound-multi-eq5_41_0.txt
* ### Why Google * Choosing Google Cloud * Trust and security * Open cloud * Multicloud * Global infrastructure * Customers and case studies * Analyst reports * Whitepapers * Blog * ### Products and pricing
firebase/queries4_259_0.txt
cities_ref.WhereNotEqualTo("capital", FieldValue::Boolean(false)); ##### Node.js
firebase/multiple-range-fields5_83_0.txt
* Label images * iOS+ * Android
firebase/queries4_272_0.txt
Learn more about the tree-shakeable modular Web API and upgrade from the namespaced API. citiesRef.where("regions", "array-contains", "west_coast"); test.firestore.js
firebase/queries4_473_0.txt
## Collection group queries A collection group consists of all collections with the same ID. By default, queries retrieve results from a single collection in your database. Use a collection group query to retrieve documents from a collection group instead of from a single collection.
firebase/firestore-data-filter-by-date-android-java9_12_0.txt
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams Create a free Team
firebase/firestore-data-filter-by-date-android-java9_40_0.txt
Share Improve this answer
firebase/queries4_371_0.txt
##### Ruby cities_ref = firestore.col collection_path exactly_one_cost = cities_ref.where "regions", "in", [["west_coast"], ["east_coast"]] query_data.rb
firebase/firestore-data-filter-by-date-android-java9_26_0.txt
* java * android * firebase * google-cloud-firestore Share
firebase/firestore_3_26.txt
ng" }, { "Born", 1912 } }; await docRef.SetAsync(user); [Program.cs](https://github.com/GoogleCloudPlatform/dotnet-docs-samples/blob/2cfda5a5d47fb8379fdf3541ddaf3bef2476b012/firestore/api/Quickstart/Program.cs#L62-L70) ##### Ruby doc_ref = firestore.doc "#{collection_path}/atur...
firebase/queries4_419_0.txt
citiesRef .whereField("state", isGreaterThanOrEqualTo: "CA") .whereField("population", isGreaterThan: 1000000) ViewController.swift ##### Objective-C
firebase/firestore-data-filter-by-date-android-java9_24_0.txt
I created an android application that shows me my firestore database that I created but my problem is that I want to show the data by date in a specific way. For example: for today (26-12-2021) when I open the app I want to see ONLY the data created today in an activity.
firebase/queries4_71_0.txt
* Get Started * C++
firebase/queries4_8_0.txt
* Stories Support
firebase/queries4_313_0.txt
### Web namespaced API Learn more about the tree-shakeable modular Web API and upgrade from the namespaced API.
firebase/multiple-range-fields5_171_0.txt
[{ "type": "thumb-down", "id": "missingTheInformationINeed", "label":"Missing the information I need" },{ "type": "thumb-down", "id": "tooComplicatedTooManySteps", "label":"Too complicated / too many steps" },{ "type": "thumb-down", "id": "outOfDate", "label":"Out of date" },{ "type": "thumb-down", "id": "samplesCodeIs...
firebase/firestore-query-filter-compound-multi-eq5_36_0.txt
### Python To authenticate to Firestore, set up Application Default Credentials. For more information, see Set up authentication for a local development environment .
firebase/queries4_494_0.txt
The ` landmarks ` collection group consists of all collections with the ID ` landmarks ` , and you can query it using a collection group query. For example, this collection group query retrieves all ` museum ` landmarks across all cities: ### Web modular API
firebase/queries4_39_0.txt
* Unity * Get Started * Manage Users * Password Authentication * Google * Play Games Sign-in * GitHub Authentication * Facebook Login * Sign in with Apple * Twitter Login * Microsoft * Yahoo * Phone Number * Use a Custom Aut...
firebase/firestore_3_0.txt
[ ![Firebase](https://www.gstatic.com/devrel- devsite/prod/v66c4dc9b65fea2172a0927d7be81b5b5d946ea60fc02578dd7c264b2c2852152/firebase/images/lockup.svg) ](/) * [ Products ](https://firebase.google.com/products-build) * [ Build ](https://firebase.google.com/products-build) * [ Release & Monitor ](https://fir...
firebase/queries4_164_0.txt
## Simple queries The following query returns all cities with state ` CA ` :
firebase/queries4_242_0.txt
countryQuery := cities.Where("state", "==", "CA") popQuery := cities.Where("population", "<", 1000000) cityQuery := cities.Where("name", ">=", "San Francisco") query.go ##### PHP
firebase/queries4_516_0.txt
For more information, see the guide for Query Explain . ## Query limitations
firebase/multiple-range-fields5_125_0.txt
* iOS+ (DeviceCheck) * iOS+ (App Attest) * Android (Play Integrity) * Android (SafetyNet, deprecated) * Web (reCAPTCHA Enterprise) * Web (reCAPTCHA v3) * Flutter * C++ * Unity * Custom providers