Methods

Sets the expression string.

__construct(string $value) 

$expression = new Database_Expression('COUNT(users.id)');

Parameters

$value

string

expression string

Return the value of the expression as a string.

__toString() : string

echo $expression;

uses \Fuel\Core\Database_Expression::value

Returns

string

Get the expression value as a string.

value() : string

$sql = $expression->value();

Returns

string

 Properties

 

$_value

$_value