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