(completer: SQLCompleter, executor: SQLExecute)
| 155 | |
| 156 | @refresher("functions") |
| 157 | def refresh_functions(completer: SQLCompleter, executor: SQLExecute) -> None: |
| 158 | completer.extend_functions(executor.functions()) |
| 159 | if executor.server_info and executor.server_info.species == ServerSpecies.TiDB: |
| 160 | completer.extend_functions(completer.tidb_functions, builtin=True) |
| 161 | |
| 162 | |
| 163 | @refresher("procedures") |
nothing calls this directly
no test coverage detected