Overview

Namespaces

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

Classes

  • DataMapper
  • DDL
  • ManyToOne
  • OneToMany
  • OneToOne
  • ORMQuery
  • ORMTable
  • ORMTableRef
  • RelatedSet
  • Relationship
  • Session
  • SessionSelect
  • WorkQueue
  • Overview
  • Namespace
  • Class
  • Tree

Class ORMTableRef

Represents a table reference through a singular relationship

Alchemy\core\Element implements Alchemy\core\IElement
Extended by Alchemy\core\query\TableRef implements Alchemy\util\promise\IPromisable
Extended by Alchemy\orm\ORMTableRef
Namespace: Alchemy\orm
Located at alchemy/orm/query/ORMTableRef.php
Methods summary
public
# __construct( mixed $schema, mixed $predicate = null )

Overrides

Alchemy\core\query\TableRef::__construct()
public ColumnRef
# __get( string $name )

Get a column reference by name

Get a column reference by name

Parameters

$name
string
$name Column name

Returns

ColumnRef
reference to Column

Overrides

Alchemy\core\query\TableRef::__get()
public
# all( Alchemy\core\query\Predicate $expr )
public
# getDescription( mixed $maxdepth = 3, mixed $curdepth = 0 )

Overrides

Alchemy\core\query\TableRef::getDescription()
public
# none( Alchemy\core\query\Predicate $expr )
public
# predicate( )
public
# relationships( )
public
# where( )
Methods inherited from Alchemy\core\query\TableRef
columns(), equal(), list_promisable_methods(), name(), schema()
Methods inherited from Alchemy\core\Element
__callStatic(), __clone(), addTag(), addTags(), copy(), define(), define_alias(), getID(), getTag(), getType(), get_definition(), listTags(), normalize_arg()
Properties summary
protected mixed $predicate
#
protected array $relcache array()
#
Properties inherited from Alchemy\core\query\TableRef
$schema
Properties inherited from Alchemy\core\Element
$id, $tags, $type
API documentation generated by ApiGen 2.8.0