MCPcopy Create free account
hub / github.com/Mause/duckdb_engine / test_fetchmany

Function test_fetchmany

duckdb_engine/tests/test_basic.py:385–388  ·  view source on GitHub ↗
(engine: Engine)

Source from the content-addressed store, hash-verified

383
384
385def test_fetchmany(engine: Engine) -> None:
386 with engine.connect() as conn:
387 res = conn.execute(text("select 1"))
388 assert res.fetchmany(1) == [(1,)]
389
390
391def test_description() -> None:

Callers

nothing calls this directly

Calls 3

connectMethod · 0.80
executeMethod · 0.80
fetchmanyMethod · 0.80

Tested by

no test coverage detected