Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

Public Member Functions | List of all members
eZ\Publish\Core\Persistence\Database\InsertQuery Interface Reference
Inheritance diagram for eZ\Publish\Core\Persistence\Database\InsertQuery:

## Public Member Functions
| insertInto ($table)
| Opens the query and sets the target table to $table. More...
| set ($column, $expression)
| The insert query will set the column $column to the value $expression. More...
Public Member Functions inherited from eZ\Publish\Core\Persistence\Database\Query
| subSelect ()
| Create a subselect used with the current query. More...
| prepare ()
| bindValue ($value, $placeHolder=null, $type=PDO::PARAM_STR)
| Binds the value $value to the specified variable name $placeHolder. More...
| bindParam (&$param, $placeHolder=null, $type=PDO::PARAM_STR)
| Binds the parameter $param to the specified variable name $placeHolder. More...
| getQuery ()
| Return the SQL string for this query. More...
| __toString ()
| Return the SQL string for this query. More...

## Detailed Description

Definition at line 15 of file InsertQuery.php.

## Member Function Documentation

## ◆ insertInto()

eZ\Publish\Core\Persistence\Database\InsertQuery::insertInto | ( |  | $table | ) |

Opens the query and sets the target table to $table.

insertInto() returns a pointer to $this.

Parameters

  string | $table |

Returns
  \eZ\Publish\Core\Persistence\Database\InsertQuery

Implemented in eZ\Publish\Core\Persistence\Doctrine\InsertDoctrineQuery.

Referenced by eZ\Publish\Core\Persistence\Legacy\Content\Gateway\DoctrineDatabase\setInsertFieldValues().

## ◆ set()

eZ\Publish\Core\Persistence\Database\InsertQuery::set | ( |  | $column,
|  |  | $expression
| ) |  |

The insert query will set the column $column to the value $expression.

set() returns a pointer to $this.

Parameters

  string | $column |
  string | $expression |

Returns
  \eZ\Publish\Core\Persistence\Database\InsertQuery

Implemented in eZ\Publish\Core\Persistence\Doctrine\InsertDoctrineQuery.

Referenced by eZ\Publish\Core\FieldType\BinaryBase\BinaryBaseStorage\Gateway\LegacyStorage\setInsertColumns(), eZ\Publish\Core\FieldType\BinaryFile\BinaryFileStorage\Gateway\LegacyStorage\setInsertColumns(), and eZ\Publish\Core\FieldType\Media\MediaStorage\Gateway\LegacyStorage\setInsertColumns().

The documentation for this interface was generated from the following file:

- InsertQuery.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.