Overview

Namespaces

  • Alchemy
    • core
      • query
      • schema
    • dialect
    • engine
    • orm
    • tests
    • util
      • promise
  • PHP

Classes

  • ColumnRef
  • DDLQuery
  • Expression
  • Insert
  • Join
  • Predicate
  • Query
  • Scalar
  • TableRef

Interfaces

  • IQuery
  • IQueryFragment
  • IQueryValue
  • Overview
  • Namespace
  • Class
  • Tree

Class Join

Represent a JOIN clause

Alchemy\core\Element implements Alchemy\core\IElement
Extended by Alchemy\core\query\Join implements Alchemy\core\query\IQueryFragment
Namespace: Alchemy\core\query
Located at alchemy/core/query/Join.php
Methods summary
public
# __construct( string $direction, string $type, Alchemy\core\query\TableRef $table, Alchemy\core\query\Expression $on = null )

Object constructor

Object constructor

Parameters

$direction
string
$direction Join::LEFT or Join::RIGHT
$type
string
$type Join::FULL, Join::INNER, or Join::OUTER
$table
Table
$table
$on
Alchemy\core\query\Expression
$on

Overrides

Alchemy\core\Element::__construct()
public string
# getDirection( )

Returns

string
public Alchemy\core\query\Expression
# getOn( )

Returns

Alchemy\core\query\Expression
public array(Scalar,
# parameters( )

Recursively get all scalar parameters used by this clause in the order which they are used in the expression

Recursively get all scalar parameters used by this clause in the order which they are used in the expression

Returns

array(Scalar,
Scalar, ...)

Implementation of

Alchemy\core\query\IQueryFragment::parameters()
public Table
# getTable( )

Returns

Table
public string
# getType( )

Returns

string

Overrides

Alchemy\core\Element::getType()
Methods inherited from Alchemy\core\Element
__callStatic(), __clone(), addTag(), addTags(), copy(), define(), define_alias(), getDescription(), getID(), getTag(), get_definition(), listTags(), normalize_arg()
Constants summary
string LEFT 'LEFT'
#
string RIGHT 'RIGHT'
#
string FULL 'FULL'
#
string INNER 'INNER'
#
string OUTER 'OUTER'
#
Properties summary
protected mixed $direction
#
protected mixed $type
#
protected mixed $table
#
protected mixed $on
#
Properties inherited from Alchemy\core\Element
$id, $tags
API documentation generated by ApiGen 2.8.0