Limit the number of records to be returned by this query.
(limit int)
| 37 | |
| 38 | // Limit the number of records to be returned by this query. |
| 39 | func (_q *EventQuery) Limit(limit int) *EventQuery { |
| 40 | _q.ctx.Limit = &limit |
| 41 | return _q |
| 42 | } |
| 43 | |
| 44 | // Offset to start from. |
| 45 | func (_q *EventQuery) Offset(offset int) *EventQuery { |