You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
modelName should be one member of InitOptions, which type is string.
Although this parameters is optional and if it's left blank, sequelize will use Class name as modelName.
But I port my old project from js to ts and my table name is camelCase, but class name is usually in PascalCase, so I need to defined the model name myself when I invoke Model.init;
Plz fix it.
The text was updated successfully, but these errors were encountered:
modelName
should be one member ofInitOptions
, which type isstring
.Although this parameters is optional and if it's left blank, sequelize will use Class name as modelName.
But I port my old project from js to ts and my table name is camelCase, but class name is usually in PascalCase, so I need to defined the model name myself when I invoke
Model.init
;Plz fix it.
The text was updated successfully, but these errors were encountered: