Skip to main content

handle

Function handle 

Source
pub async fn handle<M: MigratorTrait + Send + Sync + 'static, S: SeederTrait + Send + Sync + 'static>(
    args: &[String],
    cfg: &Config,
    seeder: Option<S>,
) -> bool
Expand description

Entry point CLI utama — dipanggil oleh project’s cli.rs

M = MigratorTrait (dari project/database/migrations) S = SeederTrait (dari project/database/seeders)