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 (nq *NodeQuery) Limit(limit int) *NodeQuery { |
| 40 | nq.ctx.Limit = &limit |
| 41 | return nq |
| 42 | } |
| 43 | |
| 44 | // Offset to start from. |
| 45 | func (nq *NodeQuery) Offset(offset int) *NodeQuery { |