public sealed class QuerySnapshot : IReadOnlyList<DocumentSnapshot>, IReadOnlyCollection<DocumentSnapshot>, IEnumerable<DocumentSnapshot>, IEnumerable, IEquatable<QuerySnapshot>
Reference documentation and code samples for the Firestore API class QuerySnapshot.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eQuerySnapshot\u003c/code\u003e class within the Google Cloud Firestore API, specifically version 3.2.0, detailing its properties and methods.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQuerySnapshot\u003c/code\u003e class is an immutable snapshot of complete query results, implementing interfaces such as \u003ccode\u003eIReadOnlyList\u003c/code\u003e, \u003ccode\u003eIReadOnlyCollection\u003c/code\u003e, and \u003ccode\u003eIEnumerable\u003c/code\u003e for \u003ccode\u003eDocumentSnapshot\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eQuerySnapshot\u003c/code\u003e include \u003ccode\u003eChanges\u003c/code\u003e (document changes), \u003ccode\u003eCount\u003c/code\u003e (number of documents), \u003ccode\u003eDocuments\u003c/code\u003e (list of documents), \u003ccode\u003eQuery\u003c/code\u003e (the original query), and \u003ccode\u003eReadTime\u003c/code\u003e (snapshot's read time).\u003c/p\u003e\n"],["\u003cp\u003eThe page also lists all available versions for the \u003ccode\u003eQuerySnapshot\u003c/code\u003e class documentation from version 2.3.1 to the latest 3.10.0.\u003c/p\u003e\n"],["\u003cp\u003eMethods available for \u003ccode\u003eQuerySnapshot\u003c/code\u003e are shown, such as \u003ccode\u003eGetEnumerator()\u003c/code\u003e to iterate over \u003ccode\u003eDocumentSnapshot\u003c/code\u003e and \u003ccode\u003eGetHashCode()\u003c/code\u003e which overrides the base object method.\u003c/p\u003e\n"]]],[],null,[]]