MCPcopy Index your code
hub / github.com/dbcli/mycli / refresh_functions

Function refresh_functions

mycli/completion_refresher.py:157–160  ·  view source on GitHub ↗
(completer: SQLCompleter, executor: SQLExecute)

Source from the content-addressed store, hash-verified

155
156@refresher("functions")
157def 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")

Callers

nothing calls this directly

Calls 2

extend_functionsMethod · 0.80
functionsMethod · 0.80

Tested by

no test coverage detected