UNPKG

sequelize-typescript

Version:
16 lines 483 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Contains = void 0; const attribute_service_1 = require("../model/column/attribute-service"); /** * Force specific substrings */ function Contains(value) { return (target, propertyName) => (0, attribute_service_1.addAttributeOptions)(target, propertyName, { validate: { contains: value, }, }); } exports.Contains = Contains; //# sourceMappingURL=contains.js.map