It's frequently seen in YAML:
User:
tableName: users
columns:
...
foreignAlias:User
And things like that.
But what if the table is called news
?How will you make it distinguish-able?
It's frequently seen in YAML:
User:
tableName: users
columns:
...
foreignAlias:User
And things like that.
But what if the table is called news
?How will you make it distinguish-able?
If the table is called news
, I would go for a new name that allows the "plural table name / singular record" pattern like NewsItems
, Topics
, or Reports
.