Class FirestoreSaver (0.5.0)
FirestoreSaver(collection: Optional[str] = None, client: Optional[Client] = None)
Write into Google Cloud Platform Firestore
.
Methods
FirestoreSaver
FirestoreSaver(collection: Optional[str] = None, client: Optional[Client] = None)
Document Saver for Google Cloud Firestore.
delete_documents
delete_documents(
documents: typing.List[langchain_core.documents.base.Document],
document_ids: typing.Optional[typing.List[str]] = None,
) -> None
Delete documents from the Firestore database.
upsert_documents
upsert_documents(
documents: typing.List[langchain_core.documents.base.Document],
merge: typing.Optional[bool] = False,
document_ids: typing.Optional[typing.List[str]] = None,
) -> None
Create / merge documents into the Firestore database.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["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 FirestoreSaver (0.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.5.0 (latest)](/python/docs/reference/langchain-google-firestore/latest/langchain_google_firestore.document_loader.FirestoreSaver)\n- [0.4.0](/python/docs/reference/langchain-google-firestore/0.4.0/langchain_google_firestore.document_loader.FirestoreSaver)\n- [0.3.0](/python/docs/reference/langchain-google-firestore/0.3.0/langchain_google_firestore.document_loader.FirestoreSaver)\n- [0.2.1](/python/docs/reference/langchain-google-firestore/0.2.1/langchain_google_firestore.document_loader.FirestoreSaver) \n\n FirestoreSaver(collection: Optional[str] = None, client: Optional[Client] = None)\n\nWrite into Google Cloud Platform `Firestore`.\n\nMethods\n-------\n\n### FirestoreSaver\n\n FirestoreSaver(collection: Optional[str] = None, client: Optional[Client] = None)\n\nDocument Saver for Google Cloud Firestore.\n\n### delete_documents\n\n delete_documents(\n documents: typing.List[langchain_core.documents.base.Document],\n document_ids: typing.Optional[typing.List[str]] = None,\n ) -\u003e None\n\nDelete documents from the Firestore database.\n\n### upsert_documents\n\n upsert_documents(\n documents: typing.List[langchain_core.documents.base.Document],\n merge: typing.Optional[bool] = False,\n document_ids: typing.Optional[typing.List[str]] = None,\n ) -\u003e None\n\nCreate / merge documents into the Firestore database."]]