Page 1 of 1

Purpose of nleft and nright

Posted: 17 Nov 2017, 22:23
by Doveman
These 2 elements (nleft & nright) are found in mshop_catalog and mshop_locale_site. Can you tell me what they are used for. How is their value set?

Re: Purpose of nleft and nright

Posted: 18 Nov 2017, 11:11
by aimeos
The tree data structure is a nested set and these columns contain the left/right value of each node:
https://en.wikipedia.org/wiki/Nested_set_model