| Fully Qualified Name: | Laminas\Db\Sql\Insert |
| Extends: | AbstractPreparableSql |
| Name | Description | Defined By |
|---|---|---|
| __construct() | Constructor | Insert |
| __get() | Overloading: variable retrieval | Insert |
| __isset() | Overloading: variable isset | Insert |
| __set() | Overloading: variable setting | Insert |
| __unset() | Overloading: variable unset | Insert |
| columns() | Specify columns | Insert |
| getRawState() | Get raw state | Insert |
| getSqlString() | {@inheritDoc} | AbstractSql |
| into() | Create INTO clause | Insert |
| prepareStatement() | {@inheritDoc} | AbstractPreparableSql |
| select() | Create INTO SELECT clause | Insert |
| values() | Specify values to insert | Insert |
Constructor
| Parameter Name | Type | Description |
|---|---|---|
| $table | null|string|\TableIdentifier |
Returns:
Overloading: variable retrieval
Retrieves value by column name
| Parameter Name | Type | Description |
|---|---|---|
| $name | string |
Returns: mixed
Overloading: variable isset
Proxies to columns; does a column of that name exist?
| Parameter Name | Type | Description |
|---|---|---|
| $name | string |
Returns: bool
Overloading: variable setting
Proxies to values, using VALUES_MERGE strategy
| Parameter Name | Type | Description |
|---|---|---|
| $name | string | |
| $value | mixed |
Returns: self Provides a fluent interface
Overloading: variable unset
Proxies to values and columns
| Parameter Name | Type | Description |
|---|---|---|
| $name | string |
Returns: void
Specify columns
| Parameter Name | Type | Description |
|---|---|---|
| $columns | array |
Returns: self Provides a fluent interface
Get raw state
| Parameter Name | Type | Description |
|---|---|---|
| $key | string |
Returns: mixed
{@inheritDoc}
| Parameter Name | Type | Description |
|---|---|---|
| $adapterPlatform |
Returns:
Create INTO clause
| Parameter Name | Type | Description |
|---|---|---|
| $table | string|\TableIdentifier |
Returns: self Provides a fluent interface
{@inheritDoc}
| Parameter Name | Type | Description |
|---|---|---|
| $adapter | ||
| $statementContainer |
Returns: \StatementContainerInterface
Create INTO SELECT clause
| Parameter Name | Type | Description |
|---|---|---|
| $select | \Select |
Returns: self
Specify values to insert
| Parameter Name | Type | Description |
|---|---|---|
| $values | array|\Select | |
| $flag | string | one |
Returns: self Provides a fluent interface