MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_aggregate_strings

Method test_aggregate_strings

test/sql/test_functions.py:262–268  ·  view source on GitHub ↗
(self, expected_sql, dialect)

Source from the content-addressed store, hash-verified

260 ),
261 )
262 def test_aggregate_strings(self, expected_sql, dialect):
263 t = table("t", column("value", String))
264 stmt = select(func.aggregate_strings(t.c.value, ","))
265
266 self.assert_compile(
267 stmt, expected_sql, dialect=dialect, render_postcompile=True
268 )
269
270 @testing.combinations(
271 (

Callers

nothing calls this directly

Calls 5

tableFunction · 0.90
columnFunction · 0.90
selectFunction · 0.90
aggregate_stringsMethod · 0.80
assert_compileMethod · 0.80

Tested by

no test coverage detected