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

Method __init__

tortoise/expressions.py:245–247  ·  view source on GitHub ↗
(self, sql: str)

Source from the content-addressed store, hash-verified

243
244class RawSQL(Term):
245 def __init__(self, sql: str) -> None:
246 super().__init__()
247 self.sql = sql
248
249 def get_sql(self, ctx: SqlContext) -> str:
250 if ctx.with_alias:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected