TSqlMultiInsert
extends TSqlStatement
in package
Provides an Interface to create an MULTI INSERT statement
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- Constructor method
- addRowValues() : mixed
- Add a row data
- getEntity() : mixed
- Returns the database entity name
- getInstruction() : mixed
- Returns the INSERT plain statement
- setCriteria() : mixed
- this method doesn't exist in this class context
- setEntity() : mixed
- defines the database entity name
- getRandomParameter() : mixed
- Returns a random parameter
- transform() : Transformed
- Transform the value according to its PHP type before send it to the database
Properties
$criteria
protected
mixed
$criteria
$entity
protected
mixed
$entity
$sql
protected
mixed
$sql
$rows
private
mixed
$rows
Methods
__construct()
Constructor method
public
__construct() : mixed
addRowValues()
Add a row data
public
addRowValues( $row) : mixed
Parameters
getEntity()
Returns the database entity name
public
final getEntity() : mixed
getInstruction()
Returns the INSERT plain statement
public
getInstruction([ $prepared = FALSE ]) : mixed
Parameters
setCriteria()
this method doesn't exist in this class context
public
setCriteria( $criteria) : mixed
Parameters
Tags
setEntity()
defines the database entity name
public
final setEntity( $entity) : mixed
Parameters
getRandomParameter()
Returns a random parameter
protected
getRandomParameter() : mixed
transform()
Transform the value according to its PHP type before send it to the database
private
transform( $value) : Transformed
Parameters
Return values
Transformed —Value