AddTableWithName has the same behavior as AddTable, but sets table.TableName to name.
(i interface{}, name string)
| 216 | // AddTableWithName has the same behavior as AddTable, but sets |
| 217 | // table.TableName to name. |
| 218 | func (m *DbMap) AddTableWithName(i interface{}, name string) *TableMap { |
| 219 | return m.AddTableWithNameAndSchema(i, "", name) |
| 220 | } |
| 221 | |
| 222 | // AddTableWithNameAndSchema has the same behavior as AddTable, but sets |
| 223 | // table.TableName to name. |