TableEngine 获取数据使用的引擎.
()
| 106 | |
| 107 | // TableEngine 获取数据使用的引擎. |
| 108 | func (m *Book) TableEngine() string { |
| 109 | return "INNODB" |
| 110 | } |
| 111 | func (m *Book) TableNameWithPrefix() string { |
| 112 | return conf.GetDatabasePrefix() + m.TableName() |
| 113 | } |
nothing calls this directly
no outgoing calls
no test coverage detected