Class TableRef
Represents a reference to a table in a SQL query
-
Alchemy\core\Element
implements
Alchemy\core\IElement
-
Alchemy\core\query\TableRef
implements
Alchemy\util\promise\IPromisable
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
|
public
Alchemy\core\query\ColumnRef
|
#
__get( string $name )
Get a column reference by name
Get a column reference by name
Parameters
- $name
string $name Column name
Returns
|
public
|
|
public
|
|
public
|
|
public
Alchemy\core\query\Predicate
|
#
equal( array $columns )
Returns a Predicate for filtering rows of this table equal to the values of a
map
Returns a Predicate for filtering rows of this table equal to the values of a
map
Parameters
- $columns
array $columns array('ColumnName' => Value)
Returns
|
public
|
|
public
|
|
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
|
|
|