Extends
lithium\core\Object
Set and get method for current query's comment.
Comment will have no effect on query, but will be passed along so data source can log it.
Parameters
- string $comment
Returns
stringSource
public function comment($comment = null) {
if ($comment) {
$this->_config['comment'] = $comment;
return $this;
}
return $this->_config['comment'];
}