选择语言 :

Module_Database_Expression

API - Module_Database_Expression

author
呼吸二氧化碳 jonwang@myqee.com
category
MyQEE
package
Module
subpackage
Database
copyright
Copyright © 2008-2013 myqee.com
license
http://www.myqee.com/license.html

$this->__construct( )

Sets the expression string.

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

返回值
  • void

$this->value( )

Get the expression value as a string.

$sql = $expression->value();

返回值
  • string

$this->__toString( )

Return the value of the expression as a string.

echo $expression;

返回值
  • string