Skip to content

Latest commit

 

History

History
206 lines (145 loc) · 3.5 KB

CODE.rst

File metadata and controls

206 lines (145 loc) · 3.5 KB

AnyBlok framework

anyblok module

anyblok

start

anyblok.declarations module

anyblok.declarations

Declarations

anyblok._argsparse module

anyblok._argsparse

ArgsParseManager

anyblok._imp module

anyblok._imp

ImportManager

anyblok._logging module

anyblok._logging

anyblok.environment module

anyblok.environment

EnvironmentManager

ThreadEnvironment

anyblok.blok module

anyblok.blok

BlokManager

Blok

anyblok.registry module

anyblok.registry

RegistryManager

Registry

anyblok.migration module

anyblok.migration

Warning

AnyBlok use Alembic to do the dynamic migration, but Alembic does'nt detect all the change (Foreifn key, primary key), we must wait the Alembic or implement it in Alembic project before use it in AnyBlok

MigrationReport

MigrationConstraintForeignKey

MigrationColumn

MigrationConstraintCheck

MigrationConstraintUnique

MigrationConstraintPrimaryKey

MigrationIndex

MigrationTable

Migration

anyblok._graphviz module

anyblok._graphviz

BaseSchema

SQLSchema

TableSchema

ModelSchema

ClassSchema

anyblok.databases module

Management of the database

adapter = getUtility(ISqlAlchemyDataBase, drivername)
adapter.createdb(dbname)
logger.info(adapter.listdb())
adapter.dropdb(dbname)

anyblok.databases.postgres module

anyblok.databases.postgres

SqlAlchemyPostgres

anyblok.scripts module

anyblok.scripts

createdb

updatedb

interpreter

sqlschema

modelschema