Limit the number of records to be returned by this query.
(limit int)
| 41 | |
| 42 | // Limit the number of records to be returned by this query. |
| 43 | func (eq *EntityQuery) Limit(limit int) *EntityQuery { |
| 44 | eq.ctx.Limit = &limit |
| 45 | return eq |
| 46 | } |
| 47 | |
| 48 | // Offset to start from. |
| 49 | func (eq *EntityQuery) Offset(offset int) *EntityQuery { |