MCPcopy Create free account
hub / github.com/tortoise/tortoise-orm / get_sql

Method get_sql

tortoise/migrations/expressions.py:8–9  ·  view source on GitHub ↗
(self, _context=None, dialect: str | None = None)

Source from the content-addressed store, hash-verified

6 self.sql = sql
7
8 def get_sql(self, _context=None, dialect: str | None = None) -> str:
9 return self.sql

Callers 10

render_valueFunction · 0.45
_alter_fieldMethod · 0.45
add_fieldMethod · 0.45
_get_model_sql_dataMethod · 0.45
add_fieldMethod · 0.45
_alter_fieldMethod · 0.45
_alter_fieldMethod · 0.45
add_fieldMethod · 0.45
_remake_tableMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected