Execute a set of migrations with an input context. Will apply at most `max` migrations. Pass 0 for no limit (or use Exec). Returns the number of applied migrations.
(ctx context.Context, db *sql.DB, dialect string, m MigrationSource, dir MigrationDirection, max int)
| 479 | // |
| 480 | // Returns the number of applied migrations. |
| 481 | func ExecMaxContext(ctx context.Context, db *sql.DB, dialect string, m MigrationSource, dir MigrationDirection, max int) (int, error) { |
| 482 | return migSet.ExecMaxContext(ctx, db, dialect, m, dir, max) |
| 483 | } |
| 484 | |
| 485 | // Execute a set of migrations |
| 486 | // |
no test coverage detected
searching dependent graphs…