GitHub

API reference for Runner.

class Runner[RD]

Runs the new migrations of loader; succeeds with their ids and names.

Functions

__call__

__call__[R2 = Never](*, loader, schema_directory=None, table='effect_sql_migrations') -> Effect[list[tuple[int, str]], MigrationError | SqlError, SqlClient | RD | R2]
ParameterTypeDescription
loaderLoader[R2]
schema_directorystr | None = None
tablestr = 'effect_sql_migrations'

Returns Effect[list[tuple[int, str]], MigrationError | SqlError, SqlClient | RD | R2]

def __call__[R2 = Never](
    self,
    *,
    loader: Loader[R2],
    schema_directory: str | None = None,
    table: str = "effect_sql_migrations",
) -> Effect[list[tuple[int, str]], MigrationError | SqlError, SqlClient | RD | R2]: ...