PHP Class Ouzo\Db\Query

ファイルを表示 Open project: letsdrink/ouzo Class Usage Examples

Public Properties

Property Type Description
$aliasTable
$distinct
$groupBy
$joinClauses
$limit
$lockForUpdate
$offset
$options
$order
$selectColumns
$selectType
$table
$type
$updateAttributes
$usingClauses
$whereClauses

Public Methods

Method Description
__construct ( $type = null )
addJoin ( JoinClause $join )
addUsing ( JoinClause $usingClause )
attributes ( $attributes )
count ( )
delete ( )
from ( $table, $alias = null )
groupBy ( $groupBy )
insert ( $attributes )
into ( $table )
join ( $joinTable, $joinKey, $idName, $alias = null, $type = 'LEFT', $on = [] )
limit ( $limit )
lockForUpdate ( )
newInstance ( $type = null )
offset ( $offset )
order ( $order )
select ( $selectColumns = null )
selectDistinct ( $selectColumns = null )
table ( $table )
update ( $attributes )
where ( $where = '', $whereValues = null )

Method Details

__construct() public method

public __construct ( $type = null )

addJoin() public method

public addJoin ( JoinClause $join )
$join JoinClause

addUsing() public method

public addUsing ( JoinClause $usingClause )
$usingClause JoinClause

attributes() public method

public attributes ( $attributes )

count() public static method

public static count ( )

delete() public static method

public static delete ( )

from() public method

public from ( $table, $alias = null )

groupBy() public method

public groupBy ( $groupBy )

insert() public static method

public static insert ( $attributes )

into() public method

public into ( $table )

join() public method

public join ( $joinTable, $joinKey, $idName, $alias = null, $type = 'LEFT', $on = [] )

limit() public method

public limit ( $limit )

lockForUpdate() public method

public lockForUpdate ( )

newInstance() public static method

public static newInstance ( $type = null )

offset() public method

public offset ( $offset )

order() public method

public order ( $order )

select() public static method

public static select ( $selectColumns = null )

selectDistinct() public static method

public static selectDistinct ( $selectColumns = null )

table() public method

public table ( $table )

update() public static method

public static update ( $attributes )

where() public method

public where ( $where = '', $whereValues = null )

Property Details

$aliasTable public_oe property

public $aliasTable

$distinct public_oe property

public $distinct

$groupBy public_oe property

public $groupBy

$joinClauses public_oe property

public $joinClauses

$limit public_oe property

public $limit

$lockForUpdate public_oe property

public $lockForUpdate

$offset public_oe property

public $offset

$options public_oe property

public $options

$order public_oe property

public $order

$selectColumns public_oe property

public $selectColumns

$selectType public_oe property

public $selectType

$table public_oe property

public $table

$type public_oe property

public $type

$updateAttributes public_oe property

public $updateAttributes

$usingClauses public_oe property

public $usingClauses

$whereClauses public_oe property

public $whereClauses