Initial commit - Event Planner application
This commit is contained in:
23
node_modules/kysely/dist/esm/operation-node/drop-constraint-node.js
generated
vendored
Normal file
23
node_modules/kysely/dist/esm/operation-node/drop-constraint-node.js
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
/// <reference types="./drop-constraint-node.d.ts" />
|
||||
import { freeze } from '../util/object-utils.js';
|
||||
import { IdentifierNode } from './identifier-node.js';
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export const DropConstraintNode = freeze({
|
||||
is(node) {
|
||||
return node.kind === 'DropConstraintNode';
|
||||
},
|
||||
create(constraintName) {
|
||||
return freeze({
|
||||
kind: 'DropConstraintNode',
|
||||
constraintName: IdentifierNode.create(constraintName),
|
||||
});
|
||||
},
|
||||
cloneWith(dropConstraint, props) {
|
||||
return freeze({
|
||||
...dropConstraint,
|
||||
...props,
|
||||
});
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user