gino.schema module

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

基类: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)

基类: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

基类:object

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

基类:object

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

基类: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)