ts-db-helper
Version:
Simple ORM based on TypeScript
27 lines • 1.07 kB
JavaScript
/**
* @class DbHelperModuleConfig is a config model for the module.
*
* @author Olivier Margarit
* @since 0.1
*/
var DbHelperModuleConfig = /** @class */ (function () {
function DbHelperModuleConfig() {
/**
* @property version, the model version
*/
this.version = '';
/**
* @property autoIncrementVersion, flag to auto increment version with the number of
* model declared, this is a trick for developpement issues due to compilator import
* optimisation. Your model, even if it is define will not be imported in the project
* until it is used.
* To prevent misunderstanding of what is happening this option aim to automatically
* call model migration on model use and mange new table creation without manually
* increment the model version.
*/
this.autoIncrementVersion = true;
}
return DbHelperModuleConfig;
}());
export { DbHelperModuleConfig };
//# sourceMappingURL=db-helper-module-config.js.map