UNPKG

database-builder

Version:

Library to assist in creating and maintaining SQL commands.

18 lines (17 loc) 761 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MapperColumn = void 0; var MapperColumn = /** @class */ (function () { function MapperColumn(column, fieldType, fieldReference, primaryKeyType, tableReference) { if (column === void 0) { column = void 0; } if (fieldType === void 0) { fieldType = void 0; } if (fieldReference === void 0) { fieldReference = column ? column.replace(/_/g, ".") : void 0; } this.column = column; this.fieldType = fieldType; this.fieldReference = fieldReference; this.primaryKeyType = primaryKeyType; this.tableReference = tableReference; } return MapperColumn; }()); exports.MapperColumn = MapperColumn;