1756. Class

1756.1. Zend\Db\Sql\Insert

1756.1.1. Methods

1756.1.1.1. __construct

__construct()

Constructor

Parameters:null|string|TableIdentifier

1756.1.1.2. into

into()

Crete INTO clause

Parameters:string|TableIdentifier
Return type:Insert

1756.1.1.3. columns

columns()

Specify columns

Parameters:array
Return type:Insert

1756.1.1.4. values

values()

Specify values to insert

Parameters:
  • array
  • string – one of VALUES_MERGE or VALUES_SET; defaults to VALUES_SET
Throws ExceptionInvalidArgumentException:
 
Return type:

Insert

1756.1.1.5. getRawState

getRawState()

1756.1.1.6. prepareStatement

prepareStatement()

Prepare statement

Parameters:
  • AdapterInterface
  • StatementContainerInterface
Return type:

void

1756.1.1.7. getSqlString

getSqlString()

Get SQL string for this statement

Parameters:null|PlatformInterface – Defaults to Sql92 if none provided
Return type:string

1756.1.1.8. __set

__set()

Overloading: variable setting

Proxies to values, using VALUES_MERGE strategy

Parameters:
  • string
  • mixed
Return type:

Insert

1756.1.1.9. __unset

__unset()

Overloading: variable unset

Proxies to values and columns

Parameters:string
Throws ExceptionInvalidArgumentException:
 
Return type:void

1756.1.1.10. __isset

__isset()

Overloading: variable isset

Proxies to columns; does a column of that name exist?

Parameters:string
Return type:bool

1756.1.1.11. __get

__get()

Overloading: variable retrieval

Retrieves value by column name

Parameters:string
Throws ExceptionInvalidArgumentException:
 
Return type:mixed

1756.1.2. Constants

1756.1.2.1. SPECIFICATION_INSERT

1756.1.2.2. VALUES_MERGE

1756.1.2.3. VALUES_SET