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
By default, gosql add an option with the model name to the requests.
ie. if my model is UserModel, generated sql will be something like "... FROM 'usermodel' ..."
Is there a way to change that because it should be useful to connect to an existing database without renaming tables and being able to have a decent model name.
for exemple table name is 55xyh and some other softwares are working on that table ; model will be hard to create with such a name
regards
Etienne
The text was updated successfully, but these errors were encountered:
By default, gosql add an option with the model name to the requests.
ie. if my model is UserModel, generated sql will be something like "... FROM 'usermodel' ..."
Is there a way to change that because it should be useful to connect to an existing database without renaming tables and being able to have a decent model name.
for exemple table name is 55xyh and some other softwares are working on that table ; model will be hard to create with such a name
regards
Etienne
The text was updated successfully, but these errors were encountered: