Permalink
Browse files

Fix typo for 'tree_right' column's name

  • Loading branch information...
1 parent eaefd21 commit 5faad44f36f2f37851d62e9c3f239e95eec9914c Djules committed Nov 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 behaviors/nested-set.markdown
@@ -77,7 +77,7 @@ echo $s2->countChildren(); // 1
echo $s2->hasSiblings(); // true
{% endhighlight %}
-Each of the traversal and inspection methods result in a single database query, whatever the position of the node in the tree. This is because the information about the node position in the tree is stored in three columns of the model, named `tree_left`, `tree_left`, and `tree_level`. The value given to these columns is determined by the nested set algorithm, and it makes read queries much more effective than trees using a simple `parent_id` foreign key.
+Each of the traversal and inspection methods result in a single database query, whatever the position of the node in the tree. This is because the information about the node position in the tree is stored in three columns of the model, named `tree_left`, `tree_right`, and `tree_level`. The value given to these columns is determined by the nested set algorithm, and it makes read queries much more effective than trees using a simple `parent_id` foreign key.
## Manipulating Nodes ##

0 comments on commit 5faad44

Please sign in to comment.