for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Author: Nil Portugués Calderó <[email protected]>
* Date: 6/3/14
* Time: 12:07 AM.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NilPortugues\Sql\QueryBuilder\Manipulation;
* Class Delete.
class Delete extends AbstractBaseQuery
{
* @var int
protected $limitStart;
* @param string $table
public function __construct($table = null)
if (isset($table)) {
$this->setTable($table);
}
* @return string
public function partName()
return 'DELETE';
* @return int
public function getLimitStart()
return $this->limitStart;
* @param int $start
* @return $this
public function limit($start)
$this->limitStart = $start;
return $this;