API Documentação da API
Inscrições abertas para nosso Webinar anual Adianti Framework 2024!
Clique aqui para saber mais
Pacote Dominando o Adianti 7
Curso + Livro + Apps exemplo
Curso completo em Video Aulas (114 aulas).
Livro completo em PDF (463 páginas).
Códigos-fontes de Apps de exemplo.
API
API do Framework
Documentation

Documentation

TSqlMultiInsert extends TSqlStatement
in package

Provides an Interface to create an MULTI INSERT statement

Tags
version
7.6
author

Pablo Dall'Oglio

copyright

Copyright (c) 2006 Adianti Solutions Ltd. (http://www.adianti.com.br)

license

https://adiantiframework.com.br/license

Table of Contents

Properties

$criteria  : mixed
$entity  : mixed
$sql  : mixed
$rows  : mixed

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

Methods

addRowValues()

Add a row data

public addRowValues( $row) : mixed
Parameters
$row :

Row data

getEntity()

Returns the database entity name

public final getEntity() : mixed

getInstruction()

Returns the INSERT plain statement

public getInstruction([ $prepared = FALSE ]) : mixed
Parameters
$prepared : = FALSE

Return a prepared Statement

setCriteria()

this method doesn't exist in this class context

public setCriteria( $criteria) : mixed
Parameters
$criteria :

A TCriteria object, specifiyng the filters

Tags
exception

Exception in any case

setEntity()

defines the database entity name

public final setEntity( $entity) : mixed
Parameters
$entity :

Name of the database entity

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
$value :

Value to be transformed

Return values
Transformed

Value


        
On this page

Search results