Jump to content

ReGenerate NTree from SQL


Recommended Posts

Hi there

 

Has anyone had any success in managing this from SQL ? We have an external ERP system which handles all categorization which is then updated in the Prestashop database. This is done using Inserts and updates. However, this does not take care of the calculation of depth and nleft and nright, and eventhough I know a little PHP, I can't seem to get my head around the function that generates the ntree and how it works.

 

So have anyone tried to achieve this using SQL ?

 

Regards,

Svend

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...