MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_columns_all

Method test_columns_all

test/ext/asyncio/test_engine.py:1309–1315  ·  view source on GitHub ↗
(self, async_engine)

Source from the content-addressed store, hash-verified

1307
1308 @async_test
1309 async def test_columns_all(self, async_engine):
1310 users = self.tables.users
1311 async with async_engine.connect() as conn:
1312 result = await conn.stream(select(users))
1313
1314 all_ = await result.columns(1).all()
1315 eq_(all_, [("name%d" % i,) for i in range(1, 20)])
1316
1317 @testing.combinations(
1318 (None,), ("scalars",), ("mappings",), argnames="filter_"

Callers

nothing calls this directly

Calls 6

selectFunction · 0.90
eq_Function · 0.90
connectMethod · 0.45
streamMethod · 0.45
allMethod · 0.45
columnsMethod · 0.45

Tested by

no test coverage detected