1
0
Fork 0
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:
Alexander Kochetov 2013-05-06 19:22:59 +04:00
parent 6286310edf
commit a8618dc48b

View file

@ -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