database.migrations
Description
Modules
|
Classes
|
Functions
|
|
|
|
|
- class database.migrations.Migration(*args, **kwargs)
- DoesNotExist
alias of
database.migrations.MigrationDoesNotExist
- _coerce = True
- _meta = <peewee.Metadata object>
- classmethod _normalize_data(data, kwargs)
- property _pk
- _pk_expr()
- _populate_unsaved_relations(field_dict)
- _prune_fields(field_dict, only)
- _schema = <peewee.SchemaManager object>
- classmethod add_index(*fields, **kwargs)
- classmethod alias(alias=None)
- classmethod bind(database, bind_refs=True, bind_backrefs=True, _exclude=None)
- classmethod bind_ctx(database, bind_refs=True, bind_backrefs=True)
- classmethod bulk_create(model_list, batch_size=None)
- classmethod bulk_update(model_list, fields, batch_size=None)
- clone()
- coerce(_coerce=True)
- static copy(method)
- classmethod create(**query)
- classmethod create_table(safe=True, **options)
- classmethod delete()
- classmethod delete_by_id(pk)
- delete_instance(recursive=False, delete_nullable=False)
- dependencies(search_nullable=False)
- property dirty_fields
- classmethod drop_table(safe=True, drop_sequences=True, **options)
- classmethod filter(*dq_nodes, **filters)
- classmethod get(*query, **filters)
- classmethod get_by_id(pk)
- get_id()
- classmethod get_or_create(**kwargs)
- classmethod get_or_none(*query, **filters)
- id = <AutoField: BaseModel.id>
- classmethod index(*fields, **kwargs)
- classmethod insert(_Model__data=None, **insert)
- classmethod insert_from(query, fields)
- classmethod insert_many(rows, fields=None)
- is_alias()
- is_dirty()
- name = <CharField: Migration.name>
- classmethod noop()
- classmethod raw(sql, *params)
- classmethod replace(_Model__data=None, **insert)
- classmethod replace_many(rows, fields=None)
- save(force_insert=False, only=None)
- classmethod select(*fields)
- classmethod set_by_id(key, value)
- classmethod table_exists()
- classmethod truncate_table(**options)
- unwrap()
- classmethod update(_Model__data=None, **update)
- classmethod validate_model()
- database.migrations.get_migration_names() list
- database.migrations.init_migrations(rollback: bool = False) None
- database.migrations.migrate_actions(fnc)
- database.migrations.rollback_actions(fnc)