Query sets the base query that will be used to fetch the search items.
(query *dbx.SelectQuery)
| 114 | |
| 115 | // Query sets the base query that will be used to fetch the search items. |
| 116 | func (s *Provider) Query(query *dbx.SelectQuery) *Provider { |
| 117 | s.query = query |
| 118 | return s |
| 119 | } |
| 120 | |
| 121 | // SkipTotal changes the `skipTotal` field of the current search provider. |
| 122 | func (s *Provider) SkipTotal(skipTotal bool) *Provider { |
no outgoing calls