Interface: CommandMetadataStore
Methods
close
▸ close(): Promise
<void
>
Returns
Promise
<void
>
Defined in
packages/mongodb-chatbot-eval/src/CommandMetadataStore.ts:13
findById
▸ findById(commandId
): Promise
<undefined
| CommandRunMetadata
>
Parameters
Name | Type |
---|---|
commandId | ObjectId |
Returns
Promise
<undefined
| CommandRunMetadata
>
Defined in
packages/mongodb-chatbot-eval/src/CommandMetadataStore.ts:12
insertOne
▸ insertOne(command
): Promise
<boolean
>
Parameters
Name | Type |
---|---|
command | CommandRunMetadata |
Returns
Promise
<boolean
>
Defined in
packages/mongodb-chatbot-eval/src/CommandMetadataStore.ts:11