MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / now

Class now

lib/sqlalchemy/sql/functions.py:1844–1853  ·  view source on GitHub ↗

The SQL now() datetime function. SQLAlchemy dialects will usually render this particular function in a backend-specific way, such as rendering it as ``CURRENT_TIMESTAMP``.

Source from the content-addressed store, hash-verified

1842
1843
1844class now(GenericFunction[datetime.datetime]):
1845 """The SQL now() datetime function.
1846
1847 SQLAlchemy dialects will usually render this particular function
1848 in a backend-specific way, such as rendering it as ``CURRENT_TIMESTAMP``.
1849
1850 """
1851
1852 type = sqltypes.DateTime()
1853 inherit_cache = True
1854
1855
1856class pow(ReturnTypeFromArgs[_T]): # noqa: A001

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected