MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / aliased

Function aliased

lib/sqlalchemy/orm/_orm_constructors.py:2372–2378  ·  view source on GitHub ↗
(
    element: Type[_O],
    alias: Optional[FromClause] = None,
    name: Optional[str] = None,
    flat: bool = False,
    adapt_on_names: bool = False,
)

Source from the content-addressed store, hash-verified

2370
2371@overload
2372def aliased(
2373 element: Type[_O],
2374 alias: Optional[FromClause] = None,
2375 name: Optional[str] = None,
2376 flat: bool = False,
2377 adapt_on_names: bool = False,
2378) -> AliasedType[_O]: ...
2379
2380
2381@overload

Callers 15

t_entity_varietiesFunction · 0.90
t_aliasedFunction · 0.90
test_9669_of_typeFunction · 0.90
relationship.pyFile · 0.90
t_select_3Function · 0.90
t_select_4Function · 0.90
t_legacy_query_cols_2Function · 0.90
t_aliased_fromclauseFunction · 0.90
test_query_threeMethod · 0.90

Calls 1

_alias_factoryMethod · 0.80

Tested by 15

test_9669_of_typeFunction · 0.72
test_query_threeMethod · 0.72
test_aliasesMethod · 0.72
test_aliased_valueMethod · 0.72
test_aliased_queryMethod · 0.72
test_aliased_filterMethod · 0.72
test_aliased_queryMethod · 0.72