MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / lateral

Method lateral

lib/sqlalchemy/sql/selectable.py:2000–2011  ·  view source on GitHub ↗

Return a new :class:`_sql.TableValuedAlias` with the lateral flag set, so that it renders as LATERAL. .. seealso:: :func:`_expression.lateral`

(self, name: Optional[str] = None)

Source from the content-addressed store, hash-verified

1998 return tva
1999
2000 def lateral(self, name: Optional[str] = None) -> LateralFromClause:
2001 """Return a new :class:`_sql.TableValuedAlias` with the lateral flag
2002 set, so that it renders as LATERAL.
2003
2004 .. seealso::
2005
2006 :func:`_expression.lateral`
2007
2008 """
2009 tva = self.alias(name=name)
2010 tva._is_lateral = True
2011 return tva
2012
2013 def render_derived(
2014 self,

Callers

nothing calls this directly

Calls 1

aliasMethod · 0.95

Tested by

no test coverage detected