MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_limit_offset

Method test_limit_offset

test/sql/test_compiler.py:406–411  ·  view source on GitHub ↗
(self, lim, offset, exp, params)

Source from the content-addressed store, hash-verified

404 ),
405 )
406 def test_limit_offset(self, lim, offset, exp, params):
407 self.assert_compile(
408 select(1).limit(lim).offset(offset),
409 "SELECT 1 " + exp,
410 checkparams=params,
411 )
412
413 @testing.combinations(
414 (

Callers

nothing calls this directly

Calls 4

selectFunction · 0.90
assert_compileMethod · 0.80
offsetMethod · 0.45
limitMethod · 0.45

Tested by

no test coverage detected