Offset to start from.
(offset int)
| 40 | |
| 41 | // Offset to start from. |
| 42 | func (mq *ModelQuery) Offset(offset int) *ModelQuery { |
| 43 | mq.ctx.Offset = &offset |
| 44 | return mq |
| 45 | } |
| 46 | |
| 47 | // Unique configures the query builder to filter duplicate records on query. |
| 48 | // By default, unique is set to true, and can be disabled using this method. |