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

Method next_value

lib/sqlalchemy/sql/schema.py:3929–3935  ·  view source on GitHub ↗

Return a :class:`.next_value` function element which will render the appropriate increment function for this :class:`.Sequence` within any SQL expression.

(self)

Source from the content-addressed store, hash-verified

3927
3928 @util.preload_module("sqlalchemy.sql.functions")
3929 def next_value(self) -> Function[int]:
3930 """Return a :class:`.next_value` function element
3931 which will render the appropriate increment function
3932 for this :class:`.Sequence` within any SQL expression.
3933
3934 """
3935 return util.preloaded.sql_functions.func.next_value(self)
3936
3937 def _set_parent(self, parent: SchemaEventTarget, **kw: Any) -> None:
3938 column = parent

Calls

no outgoing calls