descendants() 공개 메소드

Set of all children & nested children.
public descendants ( ) : Builder
리턴 Illuminate\Database\Query\Builder
예제 #1
0
 protected function pruneScope()
 {
     if ($this->node->exists) {
         return $this->node->descendants();
     }
     return $this->node->newNestedSetQuery();
 }