Purpose of nleft and nright

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Doveman
Posts: 23
Joined: 06 Nov 2017, 20:59

Purpose of nleft and nright

Post by Doveman » 17 Nov 2017, 22:23

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?

User avatar
aimeos
Administrator
Posts: 3207
Joined: 01 Jan 1970, 00:00

Re: Purpose of nleft and nright

Post by aimeos » 18 Nov 2017, 11:11

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
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply