Limit the number of records to be returned by this query.
(limit int)
| 34 | |
| 35 | // Limit the number of records to be returned by this query. |
| 36 | func (sq *SettingQuery) Limit(limit int) *SettingQuery { |
| 37 | sq.ctx.Limit = &limit |
| 38 | return sq |
| 39 | } |
| 40 | |
| 41 | // Offset to start from. |
| 42 | func (sq *SettingQuery) Offset(offset int) *SettingQuery { |