InitDatabaseUsecase
fastapi_gateway_auto_generate.domain.usecases.InitDatabaseUsecase.InitDatabaseUsecase()
¶
The usecase for initializing and verifying database migrations.
Source code in fastapi_gateway_auto_generate/domain/usecases/InitDatabaseUsecase.py
execute(db_path, db_url)
¶
Launch execution of usecase
Parameters:
Name | Type | Description | Default |
---|---|---|---|
db_url |
str
|
The path to the SQLite database. |
required |