Tutorials

How-to Guides

Explanation

Reference

gino.schema module

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

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

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

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

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

Bases: object

async create_async(bind=None, checkfirst=False)
async drop_async(bind=None, checkfirst=False)
class gino.schema.AsyncVisitor

Bases: object

async traverse_single(obj, **kw)
class gino.schema.GinoSchemaVisitor(item)

Bases: object

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