Limit the number of records to be returned by this query.
(limit int)
| 43 | |
| 44 | // Limit the number of records to be returned by this query. |
| 45 | func (_q *UserQuery) Limit(limit int) *UserQuery { |
| 46 | _q.ctx.Limit = &limit |
| 47 | return _q |
| 48 | } |
| 49 | |
| 50 | // Offset to start from. |
| 51 | func (_q *UserQuery) Offset(offset int) *UserQuery { |
no outgoing calls
no test coverage detected