Class SqlBuilder
Builds SQL query. SqlBuilder is based on great library NotORM http://www.notorm.com written by Jakub Vrana.
- Nette\Object
- Nette\Database\Table\SqlBuilder
Namespace: Nette\Database\Table
Author: Jakub Vrana
Author: Jan Skrasek
Located at Database/Table/SqlBuilder.php
Author: Jakub Vrana
Author: Jan Skrasek
Located at Database/Table/SqlBuilder.php
public
|
#
__construct( $tableName,
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
|
|
protected
|
|
public
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
protected
string
|
$tableName |
|
|
protected
|
$databaseReflection |
|
|
protected
string
|
$delimitedTable |
|
#
delimited table name |
protected
array
|
$select | array() |
#
of column to select |
protected
array
|
$where | array() |
#
of where conditions |
protected
array
|
$conditions | array() |
#
of where conditions for caching |
protected
array
|
$parameters | array(
'select' => array(),
'where' => array(),
'group' => array(),
'having' => array(),
'order' => array(),
) |
#
of parameters passed to where conditions |
protected
array
|
$order | array() |
#
or columns to order by |
protected
integer
|
$limit | NULL |
#
number of rows to fetch |
protected
integer
|
$offset | NULL |
#
first row to fetch |
protected
string
|
$group | '' |
#
columns to grouping |
protected
string
|
$having | '' |
#
grouping condition |
$reflection
|