Skip to content

postgrelize / DropViewOptions

Type Alias: DropViewOptions ​

DropViewOptions = Readonly<{ cascade?: boolean; ifExists?: boolean; }>

Defined in: src/ddl/view-ddl.ts:86

postgrelize extension

Options of dropView and dropMaterializedView. PostgreSQL extension.

Example ​

ts
const options: DropViewOptions = { ifExists: true, cascade: true };
await queryInterface.dropView('published_posts', options);

Released under the MIT License.