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