Zend\Db\Sql\Delete
Synopsis
class Delete
extends AbstractSql
implements
SqlInterface,PreparableSqlInterface
{
- // constants
- const SPECIFICATION_DELETE = 'delete';
- const SPECIFICATION_WHERE = 'where';
- // members
- protected array $specifications;
- protected string|TableIdentifier $table;
- protected bool $emptyWhereProtection;
- protected array $set;
- protected null|string|Where $where;
- // Inherited members from AbstractSql
- protected array $specifications;
- protected array $processInfo;
- protected array $instanceParameterIndex;
- // methods
- public void __construct()
- public Delete from()
- public void getRawState()
- public Delete where()
- public void prepareStatement()
- public string getSqlString()
- public mixed __get()
- // Inherited methods from AbstractSql
- protected void processExpression()
- protected string createSqlFromSpecificationAndParameters()
- protected void processSubSelect()
Hierarchy
Extends
Implements
Constants
Name | Value |
---|---|
SPECIFICATION_DELETE | 'delete' |
SPECIFICATION_WHERE | 'where' |
Members
protected
- $emptyWhereProtection — Zend\Db\Sql\bool
- $instanceParameterIndex — array
- $processInfo — string
- $set — array
- $specifications — array
- $specifications — array
- $table — Zend\Db\Sql\string|TableIdentifier
- $where — Zend\Db\Sql\null|string|Where
Methods
public
- __construct() — Constructor
- __get() — Property overloading
- from() — Create from statement
- getRawState()
- getSqlString() — Get the SQL string, based on the platform
- prepareStatement() — Prepare the delete statement
- where() — Create where clause