MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / visit_insert_from_select

Method visit_insert_from_select

test/ext/test_compiler.py:156–160  ·  view source on GitHub ↗
(element, compiler, **kw)

Source from the content-addressed store, hash-verified

154
155 @compiles(InsertFromSelect)
156 def visit_insert_from_select(element, compiler, **kw):
157 return "INSERT INTO %s (%s)" % (
158 compiler.process(element.table, asfrom=True),
159 compiler.process(element.select),
160 )
161
162 t1 = table("mytable", column("x"), column("y"), column("z"))
163 self.assert_compile(

Callers

nothing calls this directly

Calls 1

processMethod · 0.45

Tested by

no test coverage detected