Bluz\Db\Query\Traits\Limit

Limit Trait

Required for:
- Select Builder
- Update Builder
- Delete Builder

Synopsis

trait Limit {
  • // members
  • protected  $limit = NULL;
  • protected integer $offset = 0;
}

Hierarchy

Members

protected

  • $limit — integer
  • $offset — integer

Methods

public

  • limit() — Sets the maximum number of results to retrieve/update/delete
  • setLimit() — Setup limit for the query
  • setOffset() — Setup offset for the query

History