PHP Class VersionPress\Database\ParsedQueryData

Exibir arquivo Open project: versionpress/versionpress

Public Properties

Property Type Description
$data array; Example structure: [ [ column => post_modified, value => NOW() ], [ column => another_column, value => 123 ] ]
$entityName string VersionPress entity name resolved from schema.yml and $table
$idColumnsNames string[] Id column name resolved from schema.yml and $table
$ids array List of record Ids which are/will be affected by parsed query
$queryType Internal enumeration of queries which are currently supoorted by SqlQueryParser
$sqlQuery string SELECT query created from provided source query (INSERT, UPDATE, DELETE)
$table string Table name parsed from the source sql query. Usually prefixed e.g. wp_posts

Public Methods

Method Description
__construct ( $queryType )

Method Details

__construct() public method

public __construct ( $queryType )

Property Details

$data public_oe property

Example structure: [ [ column => post_modified, value => NOW() ], [ column => another_column, value => 123 ] ]
public array; $data
return array;

$entityName public_oe property

VersionPress entity name resolved from schema.yml and $table
public string $entityName
return string

$idColumnsNames public_oe property

Id column name resolved from schema.yml and $table
public string[] $idColumnsNames
return string[]

$ids public_oe property

List of record Ids which are/will be affected by parsed query
public array $ids
return array

$queryType public_oe property

Internal enumeration of queries which are currently supoorted by SqlQueryParser
public $queryType

$sqlQuery public_oe property

SELECT query created from provided source query (INSERT, UPDATE, DELETE)
public string $sqlQuery
return string

$table public_oe property

Table name parsed from the source sql query. Usually prefixed e.g. wp_posts
public string $table
return string