API Documentação da API
Lançado Adianti Framework 7.6!
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

TSqlSelect extends TSqlStatement
in package

Provides an Interface to create SELECT statements

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
$columns  : mixed

Methods

addColumn()  : mixed
Add a column name to be returned
getEntity()  : mixed
Returns the database entity name
getInstruction()  : mixed
Returns the SELECT statement as an string according to the database driver
getInterbaseInstruction()  : mixed
Returns the SELECT statement as an string for standard open source drivers
getOracleInstruction()  : mixed
Returns the SELECT statement as an string for oci8 drivers
getSqlServerInstruction()  : mixed
Returns the SELECT statement as an string for mssql/dblib drivers
getStandardInstruction()  : mixed
Returns the SELECT statement as an string for standard open source drivers
setCriteria()  : mixed
Define a select criteria
setEntity()  : mixed
defines the database entity name
getRandomParameter()  : mixed
Returns a random parameter

Properties

Methods

addColumn()

Add a column name to be returned

public addColumn( $column) : mixed
Parameters
$column :

A string containing a column name

getEntity()

Returns the database entity name

public final getEntity() : mixed

getInstruction()

Returns the SELECT statement as an string according to the database driver

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

Return a prepared Statement

getInterbaseInstruction()

Returns the SELECT statement as an string for standard open source drivers

public getInterbaseInstruction( $prepared) : mixed
Parameters
$prepared :

Return a prepared Statement

getOracleInstruction()

Returns the SELECT statement as an string for oci8 drivers

public getOracleInstruction( $prepared) : mixed
Parameters
$prepared :

Return a prepared Statement

getSqlServerInstruction()

Returns the SELECT statement as an string for mssql/dblib drivers

public getSqlServerInstruction( $prepared) : mixed
Parameters
$prepared :

Return a prepared Statement

getStandardInstruction()

Returns the SELECT statement as an string for standard open source drivers

public getStandardInstruction( $prepared) : mixed
Parameters
$prepared :

Return a prepared Statement

setCriteria()

Define a select criteria

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

An TCriteria object, specifiyng the filters

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

        
On this page

Search results