gino.schema module

class gino.schema.AsyncSchemaDropper(dialect, connection, checkfirst=False, tables=None, **kwargs)[source]

Bases: gino.schema.AsyncVisitor, sqlalchemy.sql.ddl.SchemaDropper

coroutine visit_foreign_key_constraint(constraint)[source]
coroutine visit_index(index)[source]
coroutine visit_metadata(metadata)[source]
coroutine visit_sequence(sequence, drop_ok=False)[source]
coroutine visit_table(table, drop_ok=False, _is_metadata_operation=False)[source]
class gino.schema.AsyncSchemaGenerator(dialect, connection, checkfirst=False, tables=None, **kwargs)[source]

Bases: gino.schema.AsyncVisitor, sqlalchemy.sql.ddl.SchemaGenerator

coroutine visit_foreign_key_constraint(constraint)[source]
coroutine visit_index(index)[source]
coroutine visit_metadata(metadata)[source]
coroutine visit_sequence(sequence, create_ok=False)[source]
coroutine visit_table(table, create_ok=False, include_foreign_key_constraints=None, _is_metadata_operation=False)[source]
class gino.schema.AsyncSchemaTypeMixin[source]

Bases: object

coroutine create_async(bind=None, checkfirst=False)[source]
coroutine drop_async(bind=None, checkfirst=False)[source]
class gino.schema.AsyncVisitor[source]

Bases: object

coroutine traverse_single(obj, **kw)[source]
class gino.schema.GinoSchemaVisitor(item)[source]

Bases: object

coroutine create(bind=None, *args, **kwargs)[source]
coroutine create_all(bind=None, tables=None, checkfirst=True)[source]
coroutine drop(bind=None, *args, **kwargs)[source]
coroutine drop_all(bind=None, tables=None, checkfirst=True)[source]
gino.schema.patch_schema(db)[source]