node-pg-migrate
Version:
PostgreSQL database migration management tool for node.js
10 lines (9 loc) • 515 B
TypeScript
import type { MigrationOptions } from '../../types';
import type { Name, Reversible } from '../generalTypes';
export interface RefreshMaterializedViewOptions {
concurrently?: boolean;
data?: boolean;
}
export type RefreshMaterializedViewFn = (viewName: Name, materializedViewOptions?: RefreshMaterializedViewOptions) => string;
export type RefreshMaterializedView = Reversible<RefreshMaterializedViewFn>;
export declare function refreshMaterializedView(mOptions: MigrationOptions): RefreshMaterializedView;