Initial commit - Event Planner application
This commit is contained in:
20
node_modules/kysely/dist/cjs/schema/check-constraint-builder.js
generated
vendored
Normal file
20
node_modules/kysely/dist/cjs/schema/check-constraint-builder.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CheckConstraintBuilder = void 0;
|
||||
class CheckConstraintBuilder {
|
||||
#node;
|
||||
constructor(node) {
|
||||
this.#node = node;
|
||||
}
|
||||
/**
|
||||
* Simply calls the provided function passing `this` as the only argument. `$call` returns
|
||||
* what the provided function returns.
|
||||
*/
|
||||
$call(func) {
|
||||
return func(this);
|
||||
}
|
||||
toOperationNode() {
|
||||
return this.#node;
|
||||
}
|
||||
}
|
||||
exports.CheckConstraintBuilder = CheckConstraintBuilder;
|
||||
Reference in New Issue
Block a user