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

Function identifies

mycli/packages/completion_engine.py:837–849  ·  view source on GitHub ↗
(
    identifier: Any,
    schema: str | None,
    table: str,
    alias: str,
)

Source from the content-addressed store, hash-verified

835
836
837def identifies(
838 identifier: Any,
839 schema: str | None,
840 table: str,
841 alias: str,
842) -> bool:
843 if identifier == alias:
844 return True
845 if identifier == table:
846 return True
847 if schema and identifier == (schema + "." + table):
848 return True
849 return False

Callers 3

test_identifiesFunction · 0.90
_emit_select_likeFunction · 0.85
_emit_onFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_identifiesFunction · 0.72