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 Expression

Class for composing expressions

Alchemy\core\Element implements Alchemy\core\IElement
Extended by Alchemy\core\query\Expression

Direct known subclasses

Alchemy\core\query\Predicate
Namespace: Alchemy\core\query
Located at alchemy/core/query/Expression.php
Methods summary
public static
# __callStatic( mixed $name, mixed $args )

Return a new instance of an Element type. If the type is an alias, may return an instance of a different subclass.

Return a new instance of an Element type. If the type is an alias, may return an instance of a different subclass.

Overrides

Alchemy\core\Element::__callStatic()
public
# __construct( mixed $type, array $elements )

Overrides

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

Overrides

Alchemy\core\Element::getDescription()
public
# elements( )
public array
# parameters( )

Recursively get all scalar parameters used by this expression

Recursively get all scalar parameters used by this expression

Returns

array
array(Scalar, Scalar, ...)
public
# tables( )
Methods inherited from Alchemy\core\Element
__clone(), addTag(), addTags(), copy(), define(), define_alias(), getID(), getTag(), getType(), get_definition(), listTags(), normalize_arg()
Properties summary
protected array $elements array()
#
Properties inherited from Alchemy\core\Element
$id, $tags, $type
API documentation generated by ApiGen 2.8.0