File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,15 @@ You can configure the name of those fields should you need to customize them.
2727More information on the meaning of the fields and how they are used can be found
2828in this article describing the [ MPTT logic] ( https://www.sitepoint.com/hierarchical-data-database-2/ )
2929
30+ > [ !WARNING]
31+ > The TreeBehavior is not safe for concurrent write operations.
32+ > Simultaneous requests that modify tree-structured data
33+ > (e.g., insertions, deletions, or moves) can lead to corruption of the
34+ > ` lft ` and ` rght ` values.
35+ >
36+ > To prevent this, a locking mechanism like a
37+ > [ Semaphore] ( https://www.php.net/manual/en/book.sem.php ) should be used.
38+
3039> [ !WARNING]
3140> The TreeBehavior does not support composite primary keys at this point in
3241> time.
You can’t perform that action at this time.
0 commit comments