UNPKG

refql

Version:

A Node.js and Deno library for composing and running SQL queries.

18 lines (17 loc) 583 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.propTypePrototype = void 0; const copyObj_1 = __importDefault(require("../common/copyObj")); const PropTypeSymbol = Symbol("@@PropType"); exports.propTypePrototype = { [PropTypeSymbol]: true, setTableName }; function setTableName(tableName) { let propType = (0, copyObj_1.default)(this); propType.tableName = tableName; return propType; }