PHP 클래스 eZ\Publish\Core\Persistence\Doctrine\DeleteDoctrineQuery

상속: extends AbstractDoctrineQuery, implements eZ\Publish\Core\Persistence\Database\DeleteQuery
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

공개 메소드들

메소드 설명
deleteFrom ( string $table ) : eZ\Publish\Core\Persistence\Database\DeleteQuery Opens the query and sets the target table to $table.
getQuery ( ) : string
where ( ) : eZ\Publish\Core\Persistence\Database\DeleteQuery Adds a where clause with logical expressions to the query.

메소드 상세

deleteFrom() 공개 메소드

deleteFrom() returns a pointer to $this.
public deleteFrom ( string $table ) : eZ\Publish\Core\Persistence\Database\DeleteQuery
$table string
리턴 eZ\Publish\Core\Persistence\Database\DeleteQuery

getQuery() 공개 메소드

public getQuery ( ) : string
리턴 string

where() 공개 메소드

where() accepts an arbitrary number of parameters. Each parameter must contain a logical expression or an array with logical expressions. where() could be invoked several times. All provided arguments added to the end of $whereString and form final WHERE clause of the query. If you specify multiple logical expression they are connected using a logical and. Example: $q->deleteFrom( 'MyTable' )->where( $q->eq( 'id', 1 ) );
public where ( ) : eZ\Publish\Core\Persistence\Database\DeleteQuery
리턴 eZ\Publish\Core\Persistence\Database\DeleteQuery