@knestjs/core
Version:
Knestjs search to be a Nestjs ORM in which you write the models once and only once. This is done creating migrations automatically from the models that you create.
10 lines • 348 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Table = void 0;
const constants_1 = require("../constants");
const Table = (config) => (target) => {
Reflect.defineMetadata(constants_1.KNEST_TABLE_INFO, config, target);
return target;
};
exports.Table = Table;
//# sourceMappingURL=table.decorator.js.map