MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / visit_slice

Method visit_slice

test/sql/test_operators.py:1320–1324  ·  view source on GitHub ↗
(self, element, **kw)

Source from the content-addressed store, hash-verified

1318
1319 class MyCompiler(compiler.SQLCompiler):
1320 def visit_slice(self, element, **kw):
1321 return "%s:%s" % (
1322 self.process(element.start, **kw),
1323 self.process(element.stop, **kw),
1324 )
1325
1326 def visit_getitem_binary(self, binary, operator, **kw):
1327 return "%s[%s]" % (

Callers

nothing calls this directly

Calls 1

processMethod · 0.45

Tested by

no test coverage detected