MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / format_from_hint_text

Method format_from_hint_text

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

Source from the content-addressed store, hash-verified

4727 return result_expr._compiler_dispatch(self, **column_clause_args)
4728
4729 def format_from_hint_text(self, sqltext, table, hint, iscrud):
4730 hinttext = self.get_from_hint_text(table, hint)
4731 if hinttext:
4732 sqltext += " " + hinttext
4733 return sqltext
4734
4735 def get_select_hint_text(self, byfroms):
4736 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