PHP lithium\data\model Query::fields - 2 examples found. These are the top rated real world PHP examples of lithium\data\model\Query::fields extracted from open source projects. You can rate examples to help us improve the quality of examples.
Usage:
to add a field
$query->fields('created');
to add several fields
$query->fields(array('title','body','modified'));
to reset fields to none
$query->fields(false);
should be followed by a 2nd call to fields with required fields