Skip to content

postgrelize / DropFunctionOptions

Type Alias: DropFunctionOptions ​

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

Defined in: src/ddl/function-ddl.ts:66

Options of dropFunction.

Example ​

ts
const options: DropFunctionOptions = { ifExists: true, cascade: true };
await queryInterface.dropFunction('f', [], options);

Released under the MIT License.