(modelName: string)
| 17 | |
| 18 | // This method is simplified from https://github.com/sequelize/sequelize/blob/066421c00aad61694dcdbb624d4b73dbac7c7b42/packages/core/src/model-definition.ts#L245 |
| 19 | export function modelToTableName(modelName: string): string { |
| 20 | // Align underscored = true, same as in storeService sequelizeModel |
| 21 | return Utils.underscoredIf(Utils.pluralize(modelName), true); |
| 22 | } |
| 23 | |
| 24 | export function formatColumnName(columnName: string): string { |
| 25 | return Utils.underscoredIf(columnName, true); |
no outgoing calls
no test coverage detected