Свойство | 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 |
Méthode | Description | |
---|---|---|
__construct ( $queryType ) |
public array; $data | ||
Résultat | array; |
public string $entityName | ||
Résultat | string |
public string[] $idColumnsNames | ||
Résultat | string[] |
public array $ids | ||
Résultat | array |
public $queryType |
public string $sqlQuery | ||
Résultat | string |
public string $table | ||
Résultat | string |