File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 66
77This is a Laravel 4-5 package for working with trees in a database.
88
9- * Laravel 5.2 is supported since v4
10- * Laravel 5.1 is supported in v3
11- * Laravel 4 is supported in v2
9+ * ** Laravel 5.2** is supported since v4
10+ * ** Laravel 5.1** is supported in v3
11+ * ** Laravel 4** is supported in v2
1212
1313__ [ Donate] ( https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5TJUM7FYU5VR2 ) __
1414
@@ -279,7 +279,9 @@ To delete a node:
279279$node->delete();
280280```
281281
282- Nodes are required to be deleted as models, ** don't** try do delete them using a query like so:
282+ ** IMPORTANT!** Any descendant that node has will also be deleted!
283+
284+ ** IMPORTANT!** Nodes are required to be deleted as models, ** don't** try do delete them using a query like so:
283285
284286``` php
285287Category::where('id', '=', $id)->delete();
You can’t perform that action at this time.
0 commit comments