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 TSqlMultiInsert

Description

Provides an Interface to create an MULTI INSERT statement

Located in /database/TSqlMultiInsert.php (line 18)

TSqlStatement
   |
   --TSqlMultiInsert
Variable Summary
mixed $sql
Method Summary
addRowValues ($row)
getInstruction ([$prepared = FALSE])
setCriteria ($criteria)
Variables
mixed $sql (line 20)
  • access: protected

Redefinition of:
TSqlStatement::$sql

Inherited Variables

Inherited from TSqlStatement

TSqlStatement::$criteria
TSqlStatement::$entity
Methods
Constructor __construct (line 26)

Constructor method

  • access: public
__construct ()
addRowValues (line 35)

Add a row data

  • access: public
addRowValues ($row)
  • $row: Row data
getInstruction (line 91)

Returns the INSERT plain statement

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

Redefinition of:
TSqlStatement::getInstruction()
setCriteria (line 82)

this method doesn't exist in this class context

  • exception: Exception in any case
  • access: public
setCriteria ($criteria)
  • $criteria: A TCriteria object, specifiyng the filters

Redefinition of:
TSqlStatement::setCriteria()
Define a select criteria

Inherited Methods

Inherited From TSqlStatement

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