lithium\data\model\Query::comment()
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|null
$comment
Returns
string|\lithium\data\QuerySource
public function comment($comment = null) {
if ($comment) {
$this->_config['comment'] = $comment;
return $this;
}
return $this->_config['comment'];
}