Skip to main content

Interface: CommandMetadataStore

Methods

close

close(): Promise<void>

Returns

Promise<void>

Defined in

packages/mongodb-chatbot-evaluation/src/CommandMetadataStore.ts:13


findById

findById(commandId): Promise<undefined | CommandRunMetadata>

Parameters

NameType
commandIdObjectId

Returns

Promise<undefined | CommandRunMetadata>

Defined in

packages/mongodb-chatbot-evaluation/src/CommandMetadataStore.ts:12


insertOne

insertOne(command): Promise<boolean>

Parameters

NameType
commandCommandRunMetadata

Returns

Promise<boolean>

Defined in

packages/mongodb-chatbot-evaluation/src/CommandMetadataStore.ts:11