Example #1
0
 public function getNode()
 {
     return $this->hasOne(Node::className(), ['id' => 'node_id'])->select(['id', 'ename', 'name']);
 }