views:

43

answers:

1

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?

A: 

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.

Austin Salonen