MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / next_value

Method next_value

lib/sqlalchemy/sql/schema.py:4293–4299  ·  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

4291
4292 @util.preload_module("sqlalchemy.sql.functions")
4293 def next_value(self) -> Function[int]:
4294 """Return a :class:`.next_value` function element
4295 which will render the appropriate increment function
4296 for this :class:`.Sequence` within any SQL expression.
4297
4298 """
4299 return util.preloaded.sql_functions.func.next_value(self)
4300
4301 def _copy(self) -> Sequence:
4302 return Sequence(

Calls

no outgoing calls