PHP Class Pinq\Connectors\JoiningQueryable

Author: Elliot Levin ([email protected])
Inheritance: extends Pinq\QueryBuilder, implements Pinq\Interfaces\IJoiningOnQueryable
显示文件 Open project: timetoogo/pinq Class Usage Examples

Public Methods

Method Description
__construct ( Pinq\Providers\IQueryProvider $provider, TraversalExpression $queryExpression )
on ( callable $joiningOnFunction )
onEquality ( callable $outerKeyFunction, callable $innerKeyFunction )
to ( callable $joinFunction )
withDefault ( $value, $key = null )

Method Details

__construct() public method

public __construct ( Pinq\Providers\IQueryProvider $provider, TraversalExpression $queryExpression )
$provider Pinq\Providers\IQueryProvider
$queryExpression Pinq\Expressions\TraversalExpression

on() public method

public on ( callable $joiningOnFunction )
$joiningOnFunction callable

onEquality() public method

public onEquality ( callable $outerKeyFunction, callable $innerKeyFunction )
$outerKeyFunction callable
$innerKeyFunction callable

to() public method

public to ( callable $joinFunction )
$joinFunction callable

withDefault() public method

public withDefault ( $value, $key = null )