AuxModelQuery creates a new preconfigured select auxiliary.db query with preset SELECT, FROM and other common fields based on the provided model.
(m Model)
| 71 | // AuxModelQuery creates a new preconfigured select auxiliary.db query with preset |
| 72 | // SELECT, FROM and other common fields based on the provided model. |
| 73 | func (app *BaseApp) AuxModelQuery(m Model) *dbx.SelectQuery { |
| 74 | return app.modelQuery(app.AuxConcurrentDB(), m) |
| 75 | } |
| 76 | |
| 77 | func (app *BaseApp) modelQuery(db dbx.Builder, m Model) *dbx.SelectQuery { |
| 78 | tableName := m.TableName() |
no test coverage detected