/** * Add a limit expression to the query. * * @param int $beginAmount Amount if only one arg isset, if two, the first entry which will used. * @param int|null $amount (Optional) Amount of entries which. * * @return $this The same instance to concatenate methods. */ public function limit($beginAmount, $amount = null) { $beginObj = new Numeric((int) $beginAmount); $amountObj = $amount ? new Numeric((int) $amount) : null; $this->update->limit($beginObj, $amountObj); return $this; }
/** * Add a join expression to the query. * * @param JoinFacadeInterface $join The configured join facade object, get by joinBuilder method. * * @return $this The same instance to concatenate methods. */ public function join(JoinFacadeInterface $join) { $this->select->join($join->getJoin()); return $this; }