MySQL Forums
Forum List  »  Newbie

Re: Please help
Posted by: Peter Brawley
Date: July 12, 2015 04:08PM

As you can see from the genericTree() code, it calculates level zero-based. Your first level=0 has two childIDs, 102864 and 102876. To report 1-based level, make that change either in genericTree() or in your query that reports it.

Options: ReplyQuote


Subject
Written By
Posted
July 10, 2015 12:52PM
July 10, 2015 12:58PM
July 10, 2015 09:01PM
July 11, 2015 03:30AM
July 11, 2015 04:00AM
July 11, 2015 08:37AM
July 11, 2015 11:24AM
July 11, 2015 01:10PM
July 11, 2015 01:24PM
July 12, 2015 12:28PM
July 12, 2015 12:46PM
Re: Please help
July 12, 2015 04:08PM
July 13, 2015 02:10AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.