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 TSqlSelect

Description

Provides an Interface to create SELECT statements

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

TSqlStatement
   |
   --TSqlSelect
Method Summary
addColumn ($column)
getInstruction ([$prepared = FALSE])
getOracleInstruction ($prepared)
Methods
addColumn (line 26)

Add a column name to be returned

  • access: public
addColumn ($column)
  • $column: A string containing a column name
getInstruction (line 36)

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

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

Redefinition of:
TSqlStatement::getInstruction()
getInterbaseInstruction (line 108)

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

  • access: public
getInterbaseInstruction ($prepared)
  • $prepared: Return a prepared Statement
getOracleInstruction (line 234)

Returns the SELECT statement as an string for oci8 drivers

  • access: public
getOracleInstruction ($prepared)
  • $prepared: Return a prepared Statement
getSqlServerInstruction (line 161)

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

  • access: public
getSqlServerInstruction ($prepared)
  • $prepared: Return a prepared Statement
getStandardInstruction (line 63)

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

  • access: public
getStandardInstruction ($prepared)
  • $prepared: Return a prepared Statement

Inherited Methods

Inherited From TSqlStatement

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