`fields` in relationship #557

hans-d opened this Issue Jun 24, 2012 · 1 comment


None yet
2 participants

hans-d commented Jun 24, 2012

http://lithify.me/docs/manual/working-with-data/relationships.wiki shows the following

class Categories extends \lithium\data\Model {
    public $hasMany = array('Products' => array(
        // [..]
        'fields'     => array(),
        // [..]

I'm trying to define the fields key, as I understand it could be used to limit the fields. So far I could not get it working. Should it indeed be fields, is it implemented? I could not find it easily in the source..


jails commented Apr 13, 2013

Included in #635

jails closed this Apr 13, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment