UNPKG

kysely

Version:

Type safe SQL query builder

21 lines (20 loc) 770 B
import type { OperationNode } from './operation-node.js'; import { SchemableIdentifierNode } from './schemable-identifier-node.js'; export type DropViewNodeParams = Omit<Partial<DropViewNode>, 'kind' | 'name'>; export interface DropViewNode extends OperationNode { readonly kind: 'DropViewNode'; readonly name: SchemableIdentifierNode; readonly ifExists?: boolean; readonly materialized?: boolean; readonly cascade?: boolean; } type DropViewNodeFactory = Readonly<{ is(node: OperationNode): node is DropViewNode; create(name: string): Readonly<DropViewNode>; cloneWith(dropView: DropViewNode, params: DropViewNodeParams): Readonly<DropViewNode>; }>; /** * @internal */ export declare const DropViewNode: DropViewNodeFactory; export {};