Lançado Adianti Framework 7.6!
Clique aqui para saber mais
menu

Adianti Solutions

API

Adianti, Framework, PHP, MVC, Active record, Front controller, IDE, RAD, Web, multiplataforma, geração de código, desenvolvimento rápido, relatórios, formulários, listagens, datagrids, gráficos, banco de dados, padrões de projeto, design patterns API do Adianti Framework.
API Docs
code
Selecione a classe

Class TSqlUpdate

Description

Provides an Interface to create UPDATE statements

Located in /database/TSqlUpdate.php (line 16)

TSqlStatement
   |
   --TSqlUpdate
Variable Summary
mixed $sql
Method Summary
getInstruction ([$prepared = FALSE])
setRowData ($column, $value)
unsetRowData ($column)
Variables
mixed $sql (line 18)
  • access: protected

Redefinition of:
TSqlStatement::$sql

Inherited Variables

Inherited from TSqlStatement

TSqlStatement::$criteria
TSqlStatement::$entity
Methods
getInstruction (line 144)

Returns the UPDATE plain statement

  • access: public
getInstruction ([$prepared = FALSE])
  • $prepared: Return a prepared Statement

Redefinition of:
TSqlStatement::getInstruction()
getPreparedVars (line 127)

Return the prepared vars

  • access: public
getPreparedVars ()
setRowData (line 27)

Assign values to the database columns

  • access: public
setRowData ($column, $value)
  • $column: Name of the database column
  • $value: Value for the database column
unsetRowData (line 39)

Unset row data

  • access: public
unsetRowData ($column)
  • $column: Name of the database column

Inherited Methods

Inherited From TSqlStatement

TSqlStatement::getEntity()
TSqlStatement::getInstruction()
TSqlStatement::getRandomParameter()
TSqlStatement::setCriteria()
TSqlStatement::setEntity()