MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / test_limit_offset

Method test_limit_offset

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

Source from the content-addressed store, hash-verified

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

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