• Stores each document at its specified full Firestore path.

    Parameters

    • db: Firestore

      A Firestore instance from @google-cloud/firestore (not used in the snippet, but included for structure)

    • docs: {
          document: DocumentData;
          full_path: string;
      }[]

      An array of objects containing { full_path, document }

      • full_path should be the full Firestore path to the document (including the document ID).
      • document is the data to store.

    Returns Promise<void>

    A Promise that resolves when all documents have been written.