DatabaseDocumentStore.insertDocuments()
Home > @backstage/plugin-search-backend-module-pg
> DatabaseDocumentStore
> insertDocuments
Signature:
insertDocuments(tx: Knex.Transaction, type: string, documents: IndexableDocument[]): Promise<void>;
Parameters
Parameter |
Type |
Description |
---|---|---|
tx |
Knex.Transaction | |
type |
string | |
documents |
Promise<void>