Limit the number of records to be returned by this query.
(limit int)
| 45 | |
| 46 | // Limit the number of records to be returned by this query. |
| 47 | func (_q *AlertQuery) Limit(limit int) *AlertQuery { |
| 48 | _q.ctx.Limit = &limit |
| 49 | return _q |
| 50 | } |
| 51 | |
| 52 | // Offset to start from. |
| 53 | func (_q *AlertQuery) Offset(offset int) *AlertQuery { |