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

Function _is_where_or_having

mycli/packages/completion_engine.py:603–604  ·  view source on GitHub ↗
(token: Token | None)

Source from the content-addressed store, hash-verified

601
602
603def _is_where_or_having(token: Token | None) -> bool:
604 return bool(token and token.value and token.value.lower() in ("where", "having"))
605
606
607def _find_doubled_backticks(text: str) -> list[int]:

Callers 3

test_is_where_or_havingFunction · 0.90
_emit_where_tokenFunction · 0.85
_emit_binary_or_commaFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_is_where_or_havingFunction · 0.72