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)
Variables
mixed $sql (line 18)
  • access: protected

Redefinition of:
TSqlStatement::$sql

Inherited Variables

Inherited from TSqlStatement

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

Returns the UPDATE plain statement

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

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

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

Inherited Methods

Inherited From TSqlStatement

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