Class Scalar
Represent a Scalar value in SQL
-
Alchemy\core\Element
implements
Alchemy\core\IElement
-
Alchemy\core\query\Scalar
implements
Alchemy\core\query\IQueryValue
Methods summary
public
|
#
__construct( mixed $value, mixed $tag = null )
Object constructor
Parameters
- $value
mixed $value Value
- $tag
mixed $tag Optional. Tags will be inferred if not provided
Overrides
|
public
|
|
public
|
|
public
|
|
protected static
string
|
#
infer_type( mixed $value )
Infer the type of a given value
Infer the type of a given value
Parameters
Returns
string
|
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
|
$value
|
|
|