Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

Firestore Array Query

61.6K views
•
August 3, 2018
by
Fireship
YouTube video player
Firestore Array Query

TL;DR

Firebase Web SDK 5.3 introduces a new feature that allows querying of documents based on array values.

Transcript

version 5.3 of the firebase web SDK came out a couple weeks ago and it includes a cool new feature to query documents based on an array value this means you can get all of the documents that have an array filled that contain a certain value in that array this video is going to be a lot shorter than most the content you'll find on my channel but if ... Read More

Key Insights

  • 🕸️ Firebase Web SDK 5.3 introduces a feature to query documents based on array values.
  • 👻 The feature allows searching for documents with specific values in an array field.
  • 🍁 The update saves time by eliminating the need to map arrays to objects for querying in Firestore.
  • 🔂 The "array contains" operator can only be used once in a single query.
  • 🎮 Firestore settings should be updated to avoid errors in the console.
  • 🤸 The feature is useful for applications like e-commerce shopping carts.
  • 👨‍💻 The tutorial demonstrates the setup process and provides a code example.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What is the new feature introduced in Firebase Web SDK 5.3?

The new feature allows querying of documents based on an array value.

Q: How can I utilize the new feature in my project?

First, set up Firestore and hosting in your Firebase project. Then, use the "array contains" operator in a query to search for documents with a specific value in an array field.

Q: Can I use multiple "array contains" clauses in a single query?

No, currently it is not possible to chain together multiple "array contains" clauses in a single query.

Q: How does the "array contains" operator eliminate the need for mapping arrays to objects?

Previously, arrays had to be mapped to objects for querying in Firebase Firestore. The "array contains" operator eliminates this need in most cases.

Summary & Key Takeaways

  • The Firebase Web SDK 5.3 update includes a feature to query documents based on an array value.

  • To utilize this feature, set up the Firestore and hosting in a Firebase project.

  • Use the new "array contains" operator in a query to search for documents that have a specific value in an array field.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from Fireship 📚

How to Build a RESTful API with Node.js Express thumbnail
How to Build a RESTful API with Node.js Express
Fireship
How to Build a Video Editing Tool with React and WebAssembly thumbnail
How to Build a Video Editing Tool with React and WebAssembly
Fireship
Vim in 100 Seconds thumbnail
Vim in 100 Seconds
Fireship
Build a Chatbot from Scratch - Dialogflow on Node.js thumbnail
Build a Chatbot from Scratch - Dialogflow on Node.js
Fireship
100+ Computer Science Concepts Explained thumbnail
100+ Computer Science Concepts Explained
Fireship
When being over-employed goes wrong... thumbnail
When being over-employed goes wrong...
Fireship

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.