MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / create

Method create

lib/sqlalchemy/sql/schema.py:4326–4333  ·  view source on GitHub ↗

Creates this sequence in the database.

(
        self,
        bind: _CreateDropBind,
        checkfirst: Union[bool, CheckFirst] = CheckFirst.SEQUENCES,
    )

Source from the content-addressed store, hash-verified

4324 metadata._sequences[self._key] = self
4325
4326 def create(
4327 self,
4328 bind: _CreateDropBind,
4329 checkfirst: Union[bool, CheckFirst] = CheckFirst.SEQUENCES,
4330 ) -> None:
4331 """Creates this sequence in the database."""
4332
4333 bind._run_ddl_visitor(ddl.SchemaGenerator, self, checkfirst=checkfirst)
4334
4335 def drop(
4336 self,

Calls 1

_run_ddl_visitorMethod · 0.45