MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / Test

Class Test

test/typing/plain_files/dialects/postgresql/pg_stuff.py:98–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 """Test array_agg with aggregate_order_by."""
97
98 class Test(Base):
99 __tablename__ = "test_array_agg"
100 id = mapped_column(Integer, primary_key=True)
101 ident_str: Mapped[str] = mapped_column()
102 ident: Mapped[_py_uuid] = mapped_column(UUID())
103
104 assert_type(select(func.array_agg(Test.ident_str)), Select[Sequence[str]])
105

Callers 1

test_complex_jsonb_queryFunction · 0.70

Calls 4

mapped_columnFunction · 0.90
ExcludeConstraintClass · 0.90
ColumnClass · 0.90
UUIDClass · 0.85

Tested by 1

test_complex_jsonb_queryFunction · 0.56