TSqlUpdate
extends TSqlStatement
in package
Provides an Interface to create UPDATE statements
Tags
Table of Contents
Properties
- $criteria : mixed
- $entity : mixed
- $sql : mixed
- $columnValues : mixed
- $preparedVars : mixed
Methods
- getEntity() : mixed
- Returns the database entity name
- getInstruction() : mixed
- Returns the UPDATE plain statement
- getPreparedVars() : mixed
- Return the prepared vars
- setCriteria() : mixed
- Define a select criteria
- setEntity() : mixed
- defines the database entity name
- setRowData() : mixed
- Assign values to the database columns
- unsetRowData() : mixed
- Unset row data
- 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
$columnValues
private
mixed
$columnValues
$preparedVars
private
mixed
$preparedVars
Methods
getEntity()
Returns the database entity name
public
final getEntity() : mixed
getInstruction()
Returns the UPDATE plain statement
public
getInstruction([ $prepared = FALSE ]) : mixed
Parameters
getPreparedVars()
Return the prepared vars
public
getPreparedVars() : mixed
setCriteria()
Define a select criteria
public
setCriteria( $criteria) : mixed
Parameters
setEntity()
defines the database entity name
public
final setEntity( $entity) : mixed
Parameters
setRowData()
Assign values to the database columns
public
setRowData( $column, $value) : mixed
Parameters
unsetRowData()
Unset row data
public
unsetRowData( $column) : 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[, $prepared = FALSE ]) : Transformed
Parameters
Return values
Transformed —Value