MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / compile_

Method compile_

test/sql/test_functions.py:1421–1422  ·  view source on GitHub ↗
(elem, compiler, **kw)

Source from the content-addressed store, hash-verified

1419
1420 @compiles(myfunc)
1421 def compile_(elem, compiler, **kw):
1422 return compiler.process(func.current_date())
1423
1424 x = connection.execute(func.current_date()).scalar()
1425 y = connection.execute(func.current_date().select()).scalar()

Callers

nothing calls this directly

Calls 2

current_dateMethod · 0.80
processMethod · 0.45

Tested by

no test coverage detected