mirror of
https://github.com/Oreolek/yii2-nested-sets.git
synced 2024-07-01 05:55:00 +03:00
Documentation
This commit is contained in:
parent
6286310edf
commit
a8618dc48b
|
@ -152,7 +152,7 @@ Category::find()->addOrderBy('lft')->all();
|
|||
For multiple trees per table:
|
||||
|
||||
```php
|
||||
Category::find()->where('root = ?',array($root_id))->addOrderBy('lft')->all();
|
||||
Category::find()->where('root = ?', array($root_id))->addOrderBy('lft')->all();
|
||||
```
|
||||
|
||||
Modifying a tree
|
||||
|
|
Loading…
Reference in a new issue