MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_fetch

Method test_fetch

test/sql/test_compiler.py:486–491  ·  view source on GitHub ↗
(self, fetch, offset, fetch_kw, exp, params)

Source from the content-addressed store, hash-verified

484 ),
485 )
486 def test_fetch(self, fetch, offset, fetch_kw, exp, params):
487 self.assert_compile(
488 select(1).fetch(fetch, **fetch_kw).offset(offset),
489 "SELECT 1 " + exp,
490 checkparams=params,
491 )
492
493 def test_fetch_limit_offset_self_group(self):
494 self.assert_compile(

Callers

nothing calls this directly

Calls 4

selectFunction · 0.90
assert_compileMethod · 0.80
offsetMethod · 0.45
fetchMethod · 0.45

Tested by

no test coverage detected