/opt/canhelp/node_modules/kysely/dist/esm/operation-node
Edit: /opt/canhelp/node_modules/kysely/dist/esm/operation-node/table-node.js (631B)
///
import { freeze } from '../util/object-utils.js';
import { SchemableIdentifierNode } from './schemable-identifier-node.js';
/**
* @internal
*/
export const TableNode = freeze({
is(node) {
return node.kind === 'TableNode';
},
create(table) {
return freeze({
kind: 'TableNode',
table: SchemableIdentifierNode.create(table),
});
},
createWithSchema(schema, table) {
return freeze({
kind: 'TableNode',
table: SchemableIdentifierNode.createWithSchema(schema, table),
});
},
});