MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / format_from_hint_text

Method format_from_hint_text

lib/sqlalchemy/sql/compiler.py:4910–4914  ·  view source on GitHub ↗
(self, sqltext, table, hint, iscrud)

Source from the content-addressed store, hash-verified

4908 return result_expr._compiler_dispatch(self, **column_clause_args)
4909
4910 def format_from_hint_text(self, sqltext, table, hint, iscrud):
4911 hinttext = self.get_from_hint_text(table, hint)
4912 if hinttext:
4913 sqltext += " " + hinttext
4914 return sqltext
4915
4916 def get_select_hint_text(self, byfroms):
4917 return None

Callers 3

visit_aliasMethod · 0.95
visit_tableMethod · 0.95
_setup_crud_hintsMethod · 0.95

Calls 1

get_from_hint_textMethod · 0.95

Tested by

no test coverage detected