Show function name when prompting user for sql binding type (#19336)

This commit is contained in:
Barbara Valdez
2022-05-11 13:51:15 -07:00
committed by GitHub
parent e10b1eb5a9
commit e69bd2c01f
4 changed files with 8 additions and 6 deletions

View File

@@ -29,8 +29,9 @@ declare module 'sql-bindings' {
/**
* Prompts the user to select type of binding and returns result or undefined if the user cancelled out of the prompt
* @param funcName (Optional) Name of the function we are adding the SQL Binding to
*/
promptForBindingType(): Promise<BindingType | undefined>;
promptForBindingType(funcName?: string): Promise<BindingType | undefined>;
/**
* Prompts the user to enter object name for the SQL query