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 ColumnRef

Represents a reference to a column in SQL query

Alchemy\core\Element implements Alchemy\core\IElement
Extended by Alchemy\core\query\ColumnRef implements Alchemy\core\query\IQueryValue, Alchemy\util\promise\IPromisable
Namespace: Alchemy\core\query
Located at alchemy/core/query/ColumnRef.php
Methods summary
public static array(method_name
# list_promisable_methods( )

Returns an array mapping promisable methods to return types. A promisable method is one that is dependent only on immutable inputs and is guaranteed to return an instance of a certain type.

Returns an array mapping promisable methods to return types. A promisable method is one that is dependent only on immutable inputs and is guaranteed to return an instance of a certain type.

Returns

array(method_name
=> class_name, ...)

Implementation of

Alchemy\util\promise\IPromisable::list_promisable_methods()
public
# __call( mixed $name, mixed $args )

Build and return a Predicate by comparing this column to another IQueryValue

Build and return a Predicate by comparing this column to another IQueryValue

Parameters

$name
mixed
$name Operator Name: and, or
$args
mixed
$args array([0] => IQueryValue, ...) IQueryValue to compare to
public
# __construct( mixed $schema, Alchemy\core\query\TableRef $table )

Overrides

Alchemy\core\Element::__construct()
public
# getDescription( mixed $maxdepth = 3, mixed $curdepth = 0 )

Overrides

Alchemy\core\Element::getDescription()
public
# name( )
public
# schema( )
public
# table( )
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 $schema
#
protected mixed $table
#
Properties inherited from Alchemy\core\Element
$id, $tags, $type
API documentation generated by ApiGen 2.8.0