[[["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-28 UTC."],[],[],null,["# Class BundleBuilder (7.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [7.11.0 (latest)](/nodejs/docs/reference/firestore/latest/firestore/bundlebuilder)\n- [7.9.0](/nodejs/docs/reference/firestore/7.9.0/firestore/bundlebuilder)\n- [7.7.0](/nodejs/docs/reference/firestore/7.7.0/firestore/bundlebuilder)\n- [7.6.0](/nodejs/docs/reference/firestore/7.6.0/firestore/bundlebuilder)\n- [7.5.0](/nodejs/docs/reference/firestore/7.5.0/firestore/bundlebuilder)\n- [7.4.0](/nodejs/docs/reference/firestore/7.4.0/firestore/bundlebuilder)\n- [7.3.1](/nodejs/docs/reference/firestore/7.3.1/firestore/bundlebuilder)\n- [7.2.0](/nodejs/docs/reference/firestore/7.2.0/firestore/bundlebuilder)\n- [7.1.0](/nodejs/docs/reference/firestore/7.1.0/firestore/bundlebuilder)\n- [6.4.1](/nodejs/docs/reference/firestore/6.4.1/firestore/bundlebuilder)\n- [6.3.0](/nodejs/docs/reference/firestore/6.3.0/firestore/bundlebuilder)\n- [6.0.0](/nodejs/docs/reference/firestore/6.0.0/firestore/bundlebuilder)\n- [5.0.2](/nodejs/docs/reference/firestore/5.0.2/firestore/bundlebuilder)\n- [4.15.1](/nodejs/docs/reference/firestore/4.15.1/firestore/bundlebuilder)\n- [4.14.2](/nodejs/docs/reference/firestore/4.14.2/firestore/bundlebuilder)\n- [4.9.8](/nodejs/docs/reference/firestore/4.9.8/firestore/bundlebuilder) \nBuilds a Firestore data bundle with results from the given document and query snapshots.\n\nPackage\n-------\n\n[@google-cloud/firestore](../overview.html)\n\nConstructors\n------------\n\n### (constructor)(bundleId)\n\n constructor(bundleId: string);\n\nConstructs a new instance of the `BundleBuilder` class\n\nProperties\n----------\n\n### bundleId\n\n readonly bundleId: string;\n\nMethods\n-------\n\n### add(documentSnapshot)\n\n add(documentSnapshot: DocumentSnapshot): BundleBuilder;\n\n### add(queryName, querySnapshot)\n\n add(queryName: string, querySnapshot: QuerySnapshot): BundleBuilder;\n\n### build()\n\n build(): Buffer;"]]