ModelQuery creates a new preconfigured select data.db query with preset SELECT, FROM and other common fields based on the provided model.
(m Model)
| 65 | // ModelQuery creates a new preconfigured select data.db query with preset |
| 66 | // SELECT, FROM and other common fields based on the provided model. |
| 67 | func (app *BaseApp) ModelQuery(m Model) *dbx.SelectQuery { |
| 68 | return app.modelQuery(app.ConcurrentDB(), m) |
| 69 | } |
| 70 | |
| 71 | // AuxModelQuery creates a new preconfigured select auxiliary.db query with preset |
| 72 | // SELECT, FROM and other common fields based on the provided model. |
no test coverage detected